aboutsummaryrefslogtreecommitdiffstats
path: root/testing/python26-setuptools/APKBUILD
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2009-11-16 15:34:23 +0000
committerMichael Mason <ms13sp@gmail.com>2009-11-16 15:34:23 +0000
commitcb650c9d34b6cfef038e4f2bce4c51185d51a6f3 (patch)
tree3ffd005f2e174ca8b92ec580402efe3ac483f113 /testing/python26-setuptools/APKBUILD
parent7f4b8de1f544e4daa1ed7382b86c127bf97c9d02 (diff)
parente73d1132a9cdf0ac21814a0fcfcd5890df23b049 (diff)
downloadaports-cb650c9d34b6cfef038e4f2bce4c51185d51a6f3.tar.bz2
aports-cb650c9d34b6cfef038e4f2bce4c51185d51a6f3.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/python26-setuptools/APKBUILD')
-rw-r--r--testing/python26-setuptools/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/python26-setuptools/APKBUILD b/testing/python26-setuptools/APKBUILD
new file mode 100644
index 0000000000..e8322dd525
--- /dev/null
+++ b/testing/python26-setuptools/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Andrew Manison <amanison@anselsystems.com>
+# Maintainer:
+pkgname=python26-setuptools
+_pkgname=${pkgname#python26-}
+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"