summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2019-07-23 14:49:54 -0700
committerDonald Webster2019-07-23 14:49:54 -0700
commit2edf6bbf67864baa178d24c6858df5534632cc30 (patch)
tree10cc8d5a11335a75176b44582697b42314c9c438
parent4a4ebeb79d03d446ddd4e2489c21e8d3aa20773e (diff)
downloadaur-2edf6bbf67864baa178d24c6858df5534632cc30.tar.gz
PKGBUILD cleanup.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 4 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f7f6b56c7e2..4fd9c4a9bce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,7 +12,7 @@ pkgbase = python-schedule
makedepends = python-setuptools
makedepends = python2-setuptools
source = https://files.pythonhosted.org/packages/source/s/schedule/schedule-0.6.0.tar.gz
- sha256sums = f9fb5181283de4db6e701d476dd01b6a3dd81c38462a54991ddbb9d26db857c9
+ sha512sums = 0a2704055c7f2b3bbf08582a7f099b5118b0e97e39cda0a299b66620ab17cedb63c44e7bda7d3480649c8b4d609f3e051f8111e7370c39210c305444c287ae93
pkgname = python-schedule
depends = python
diff --git a/PKGBUILD b/PKGBUILD
index e9a97518c0e..658e8166e79 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,20 +16,12 @@ checkdepends=('python-pytest'
'python2-pytest'
'python2-mock')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha256sums=('f9fb5181283de4db6e701d476dd01b6a3dd81c38462a54991ddbb9d26db857c9')
+sha512sums=('0a2704055c7f2b3bbf08582a7f099b5118b0e97e39cda0a299b66620ab17cedb63c44e7bda7d3480649c8b4d609f3e051f8111e7370c39210c305444c287ae93')
prepare() {
cp -a schedule-${pkgver}{,-py2}
}
-build() {
- cd "$srcdir"/schedule-${pkgver}
- python setup.py build
-
- cd "$srcdir"/schedule-${pkgver}-py2
- python2 setup.py build
-}
-
check() {
cd "$srcdir"/schedule-${pkgver}
python setup.py test
@@ -41,11 +33,11 @@ check() {
package_python-schedule() {
depends=('python')
cd "${srcdir}/schedule-${pkgver}"
- python setup.py install --root="$pkgdir" --optimize=1
+ python setup.py install --root="${pkgdir}" --optimize=1
}
package_python2-schedule() {
depends=('python2')
cd "${srcdir}/schedule-${pkgver}-py2"
- python2 setup.py install --root="$pkgdir" --optimize=1
+ python2 setup.py install --root="${pkgdir}" --optimize=1
}