From acccdaca1a8d22095aff5676cce02c40de53d508 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Thu, 18 Nov 2010 01:55:24 +0000
Subject: python-decorator: update

---
 abs/core/python-decorator/PKGBUILD | 11 ++++++-----
 1 file 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
 }
-- 
cgit v0.12

