aboutsummaryrefslogtreecommitdiffstats
path: root/testing/python26-setuptools/APKBUILD
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2009-11-14 01:44:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-16 10:42:12 +0000
commitc379c75a623df4823e0593541edc86be9d6aa379 (patch)
tree3c479756fbd9539e1f566a801fb6e6ce9c63d1e8 /testing/python26-setuptools/APKBUILD
parent6eccd22bb9dee1c34100d4d50e3d03e09f598058 (diff)
downloadaports-c379c75a623df4823e0593541edc86be9d6aa379.tar.gz
aports-c379c75a623df4823e0593541edc86be9d6aa379.tar.bz2
aports-c379c75a623df4823e0593541edc86be9d6aa379.tar.xz
Added mediaproxy and required Python packages
Diffstat (limited to 'testing/python26-setuptools/APKBUILD')
-rw-r--r--testing/python26-setuptools/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/python26-setuptools/APKBUILD b/testing/python26-setuptools/APKBUILD
new file mode 100644
index 0000000000..27d956f5b7
--- /dev/null
+++ b/testing/python26-setuptools/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Andrew Manison <amanison@anselsystems.com>
+# Maintainer:
+pkgname=python26-setuptools
+_pkgname=`echo $pkgname |sed -e 's,^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=""
+install=
+subpackages=""
+source="http://pypi.python.org/packages/source/s/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+# append extra dependencies to -dev subpackage
+# remove if not used.
+# depends_dev="somepackage-dev"
+
+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"