[arch-commits] Commit in setuptools/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Tue Aug 17 23:18:12 EDT 2010


    Date: Tuesday, August 17, 2010 @ 23:18:12
  Author: allan
Revision: 87710

upgpkg: setuptools 0.6c11-2
python rebuild

Modified:
  setuptools/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-18 03:06:28 UTC (rev 87709)
+++ PKGBUILD	2010-08-18 03:18:12 UTC (rev 87710)
@@ -10,13 +10,13 @@
 license=('PSF')
 arch=('any')
 url="http://peak.telecommunity.com/DevCenter/setuptools"
-depends=('python')
+depends=('python2')
 source=(http://cheeseshop.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('7df2a529a074f613b509fb44feefe74e')
 
 package() {
   cd $srcdir/$pkgname-$pkgver
-  install -d $pkgdir/usr/lib/python2.6/site-packages
-  python setup.py install --root=$pkgdir
-  echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" > $pkgdir/usr/lib/python2.6/site-packages/setuptools.pth
+  install -d $pkgdir/usr/lib/python2.7/site-packages
+  python2 setup.py install --root=$pkgdir
+  echo "/usr/lib/python2.7/site-packages/$pkgname-$pkgver-py2.7.egg" > $pkgdir/usr/lib/python2.7/site-packages/setuptools.pth
 }



More information about the arch-commits mailing list