summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/python-decorator/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/abs/core/python-decorator/PKGBUILD b/abs/core/python-decorator/PKGBUILD
index a7cd692..e933da0 100644
--- a/abs/core/python-decorator/PKGBUILD
+++ b/abs/core/python-decorator/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=python-decorator
pkgver=3.2.0
-pkgrel=1
+pkgrel=2
pkgdesc='Python Decorator module'
arch=('any')
url='http://pypi.python.org/pypi/decorator'
license=('BSD')
-depends=('python')
+depends=('python2')
source=("http://pypi.python.org/packages/source/d/decorator/decorator-${pkgver}.tar.gz"
'LICENSE.txt')
md5sums=('6208cd51365083c168ab3a04426a646b'
@@ -17,13 +17,14 @@ md5sums=('6208cd51365083c168ab3a04426a646b'
build() {
cd decorator-${pkgver}
- python setup.py build
+ python2 setup.py build
}
package() {
cd decorator-${pkgver}
- python setup.py install --root=${pkgdir} --optimize=1
+ python2 setup.py install --root=${pkgdir} --optimize=1
- install -D -m644 ${srcdir}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -D -m644 ${srcdir}/LICENSE.txt \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}