aboutsummaryrefslogtreecommitdiffstats
path: root/testing/python26-buildutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/python26-buildutils/APKBUILD')
-rw-r--r--testing/python26-buildutils/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/python26-buildutils/APKBUILD b/testing/python26-buildutils/APKBUILD
new file mode 100644
index 0000000000..4bee0caa2b
--- /dev/null
+++ b/testing/python26-buildutils/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Andrew Manison <amanison@anselsystems.com>
+# Maintainer:
+pkgname=python26-buildutils
+_pkgname=`echo $pkgname |sed -e 's,^python26-,,'`
+pkgver=0.3
+pkgrel=0
+pkgdesc="buildutils is a collection of enhancements to the Python distutils"
+url="http://pypi.python.org/pypi/buildutils/0.3"
+license="GPL"
+depends="python python26-setuptools"
+makedepends=""
+install=
+subpackages=""
+source="http://pypi.python.org/packages/source/b/$_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
+}
+
+md5sums="fec620dee05f591edad386366b52e17b buildutils-0.3.tar.gz"