summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-04-24 00:17:47 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-04-24 00:25:27 -0500
commit3acecadcdf96cd8c8f27deec00351787a963fdf9 (patch)
tree375cbb46b9ef36eb2a4af4fbb68f4eedd87f4128 /testing
parent6bd8f026486e4a6e3d0212171fb6c6739cdef2f1 (diff)
downloadaports-3acecadcdf96cd8c8f27deec00351787a963fdf9.tar.bz2
aports-3acecadcdf96cd8c8f27deec00351787a963fdf9.tar.xz
testing/py-distutils-extra: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py-distutils-extra/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/py-distutils-extra/APKBUILD b/testing/py-distutils-extra/APKBUILD
new file mode 100644
index 000000000..c375966ab
--- /dev/null
+++ b/testing/py-distutils-extra/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-distutils-extra
+pkgver=2.26
+pkgrel=0
+pkgdesc="enhanced distutils package for python"
+url="http://launchpad.net/python-distutils-extra"
+arch="noarch"
+license="GPL"
+depends="py-setuptools"
+makedepends="python-dev"
+install=""
+source="http://launchpad.net/python-distutils-extra/trunk/$pkgver/+download/python-distutils-extra-$pkgver.tar.gz"
+
+_builddir="$srcdir"/python-distutils-extra-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --root="$pkgdir" || return 1
+}
+
+md5sums="7caded30a45907b5cdb10ac4182846eb python-distutils-extra-2.26.tar.gz"