summaryrefslogtreecommitdiffstats
path: root/abs/core/setuptools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/setuptools/PKGBUILD')
-rw-r--r--abs/core/setuptools/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/abs/core/setuptools/PKGBUILD b/abs/core/setuptools/PKGBUILD
index 022f939..ccf0941 100644
--- a/abs/core/setuptools/PKGBUILD
+++ b/abs/core/setuptools/PKGBUILD
@@ -5,19 +5,18 @@
pkgname=setuptools
pkgver=0.6c11
-pkgrel=1
+pkgrel=2
pkgdesc="setuptools is a collection of enhancements to the Python distutils"
license=('PSF')
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://peak.telecommunity.com/DevCenter/setuptools"
-depends=('python')
+depends=('python2')
source=(http://cheeseshop.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz)
build() {
- cd $startdir/src/$pkgname-$pkgver
- mkdir -p $startdir/pkg/usr/lib/python2.6/site-packages
- python setup.py install --root=$startdir/pkg
- echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" > $startdir/pkg/usr/lib/python2.6/site-packages/setuptools.pth
+ cd ${srcdir}/${pkgname}-${pkgver}
+ mkdir -p ${pkgdir}/usr/lib/python2.6/site-packages
+ python2 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
}
-
md5sums=('7df2a529a074f613b509fb44feefe74e')