summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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
}