diff options
Diffstat (limited to 'testing/py-distutils-extra/APKBUILD')
-rw-r--r-- | testing/py-distutils-extra/APKBUILD | 36 |
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" |