summaryrefslogtreecommitdiffstats
path: root/abs/core/setuptools/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-09 23:51:51 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-09 23:51:51 (GMT)
commitaae5bd46dec098a7685b777b445caaf9e12458ab (patch)
treeee9975d8110158bc08f63d015bbba93e819891f0 /abs/core/setuptools/PKGBUILD
parente14b072ac367ffca20037c5402c8bb0e13f0286f (diff)
downloadlinhes_pkgbuild-aae5bd46dec098a7685b777b445caaf9e12458ab.zip
linhes_pkgbuild-aae5bd46dec098a7685b777b445caaf9e12458ab.tar.gz
linhes_pkgbuild-aae5bd46dec098a7685b777b445caaf9e12458ab.tar.bz2
setuptools: recompile
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')