diff options
author | Lorenz Steinert | 2019-12-01 19:07:13 +0100 |
---|---|---|
committer | Lorenz Steinert | 2019-12-01 19:07:13 +0100 |
commit | fca5fd95ed8936042df603d02e169d07a14a4a87 (patch) | |
tree | 58a2dae0adbf33ad6d54e6c115079370794fd646 /PKGBUILD | |
parent | 20b817aa1915b5cd9c06f7e7fc35c1a19a0a4633 (diff) | |
download | aur-python-robot-detection.tar.gz |
factor out python2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,6 +1,6 @@ # Maintainer: Simon Hanna <simon dot hanna AT serve-me DOT info> -pkgname=('python-robot-detection' 'python2-robot-detection') +pkgname=('python-robot-detection') _pkgbase='robot-detection' pkgver=0.4.0 pkgrel=1 @@ -11,7 +11,7 @@ license=('GPL') options=(!emptydirs) source=("https://github.com/rory/robot-detection/archive/v${pkgver}.tar.gz") sha256sums=('9fa0423a890fd5856e5494076ba6e67abd2f4173d91c8b292819dfaa815b5060') -makedepends=('python-setuptools' 'python2-setuptools') +makedepends=('python-setuptools') package_python-robot-detection() { depends=('python') @@ -19,10 +19,4 @@ package_python-robot-detection() { python setup.py install --root="$pkgdir/" --optimize=1 } -package_python2-robot-detection() { - depends=('python2') - cd "$srcdir/$_pkgbase-$pkgver" - python2 setup.py install --root="$pkgdir/" --optimize=1 -} - # vim:set ts=2 sw=2 et: |