summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormschubert2019-01-07 10:16:15 +0100
committermschubert2019-01-07 10:16:15 +0100
commit2d0b7ec612571cefc5f13756989f56d1d99de8aa (patch)
treea16d78d44cb107f658e32aec30b6b0029e2199a9 /PKGBUILD
parentc2790b4fa36b4684b10741b125786bddd81b5ec5 (diff)
downloadaur-python-ratelimiter.tar.gz
install is only file copy, no build stage
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 2 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7a8e32cb441..08bac97630d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,12 +13,6 @@ checkdepends=('python2-pytest>=3.0' 'python-pytest>=3.0')
source=("$_pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('b8dbff5bdfd922126f20cd513473cfd0d61b017cd354cb641a3d50b62897eca9')
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
- # build step only copies files, same for python and python2
- python setup.py build
-}
-
check() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py test
@@ -29,12 +23,12 @@ package_python-ratelimiter() {
depends=('python')
cd "$srcdir/$_pkgname-$pkgver"
- python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
package_python2-ratelimiter() {
depends=('python2')
cd "$srcdir/$_pkgname-$pkgver"
- python2 setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}