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

Andrea Scarpino andrea at archlinux.org
Wed Jun 23 15:57:15 UTC 2010


    Date: Wednesday, June 23, 2010 @ 11:57:15
  Author: andrea
Revision: 83882

upgpkg: setuptools 0.6c11-2
arch any; use package()

Modified:
  setuptools/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-23 15:55:48 UTC (rev 83881)
+++ PKGBUILD	2010-06-23 15:57:15 UTC (rev 83882)
@@ -5,18 +5,18 @@
 
 pkgname=setuptools
 pkgver=0.6c11
-pkgrel=1
+pkgrel=2
 pkgdesc="A collection of enhancements to the Python distutils"
 license=('PSF')
-arch=(i686 x86_64)
+arch=('any')
 url="http://peak.telecommunity.com/DevCenter/setuptools"
 depends=('python')
 source=(http://cheeseshop.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('7df2a529a074f613b509fb44feefe74e')
 
-build() {
+package() {
   cd $srcdir/$pkgname-$pkgver
-  mkdir -p $pkgdir/usr/lib/python2.6/site-packages
-  python setup.py install --root=$pkgdir || return 1
+  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
 }




More information about the arch-commits mailing list