aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-setuptools/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-11 13:18:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-11 13:18:22 +0000
commit3a4b60e9e1c4fd340d6847f3f3d4b1380387026a (patch)
tree2316472742fcd3dffb5e1749b67084c626cd5a49 /main/py-setuptools/APKBUILD
parent6be82ec40a642fc049398d571ce8394ca88d43ab (diff)
downloadaports-3a4b60e9e1c4fd340d6847f3f3d4b1380387026a.tar.bz2
aports-3a4b60e9e1c4fd340d6847f3f3d4b1380387026a.tar.xz
main/trac,py-sqlite,py-setuptools,py-genshi: moved from testing
Diffstat (limited to 'main/py-setuptools/APKBUILD')
-rw-r--r--main/py-setuptools/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/py-setuptools/APKBUILD b/main/py-setuptools/APKBUILD
new file mode 100644
index 0000000000..2ccca3b4cd
--- /dev/null
+++ b/main/py-setuptools/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Andrew Manison <amanison@anselsystems.com>
+# Maintainer:
+pkgname=py-setuptools
+_pkgname=${pkgname#py-}
+pkgver=0.6c11
+pkgrel=0
+pkgdesc="setuptools is a collection of enhancements to the Python distutils"
+url="http://pypi.python.org/pypi/setuptools"
+license="PSF"
+depends="python"
+makedepends="python-dev"
+install=
+subpackages=""
+source="http://pypi.python.org/packages/source/s/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir"/$_pkgname-$pkgver
+ mkdir -p "$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/$_pkgname.pth
+
+ # we don't provide a non-suffixed easy_install
+ echo "Removing non-suffixed easy_install ( $pkgdir/usr/bin/easy_install)"
+ rm "$pkgdir"/usr/bin/easy_install
+}
+
+md5sums="7df2a529a074f613b509fb44feefe74e setuptools-0.6c11.tar.gz"