summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-18 01:55:24 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-18 01:55:24 (GMT)
commitacccdaca1a8d22095aff5676cce02c40de53d508 (patch)
treee0f8b8eb694ea4b8d9cbaf4eb35a6bcc4c51bfae
parentc874d7ab92d83e481f25e335908595224e888a54 (diff)
downloadlinhes_pkgbuild-acccdaca1a8d22095aff5676cce02c40de53d508.zip
linhes_pkgbuild-acccdaca1a8d22095aff5676cce02c40de53d508.tar.gz
linhes_pkgbuild-acccdaca1a8d22095aff5676cce02c40de53d508.tar.bz2
python-decorator: update
-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
}