diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-04-24 00:17:47 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-04-24 00:25:27 -0500 |
commit | 3acecadcdf96cd8c8f27deec00351787a963fdf9 (patch) | |
tree | 375cbb46b9ef36eb2a4af4fbb68f4eedd87f4128 | |
parent | 6bd8f026486e4a6e3d0212171fb6c6739cdef2f1 (diff) | |
download | alpine_aports-3acecadcdf96cd8c8f27deec00351787a963fdf9.tar.bz2 alpine_aports-3acecadcdf96cd8c8f27deec00351787a963fdf9.tar.xz alpine_aports-3acecadcdf96cd8c8f27deec00351787a963fdf9.zip |
testing/py-distutils-extra: new aport
-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 0000000000..c375966abe --- /dev/null +++ b/testing/py-distutils-extra/APKBUILD | |||
@@ -0,0 +1,36 @@ | |||
1 | # Contributor: William Pitcock <nenolod@dereferenced.org> | ||
2 | # Maintainer: William Pitcock <nenolod@dereferenced.org> | ||
3 | pkgname=py-distutils-extra | ||
4 | pkgver=2.26 | ||
5 | pkgrel=0 | ||
6 | pkgdesc="enhanced distutils package for python" | ||
7 | url="http://launchpad.net/python-distutils-extra" | ||
8 | arch="noarch" | ||
9 | license="GPL" | ||
10 | depends="py-setuptools" | ||
11 | makedepends="python-dev" | ||
12 | install="" | ||
13 | source="http://launchpad.net/python-distutils-extra/trunk/$pkgver/+download/python-distutils-extra-$pkgver.tar.gz" | ||
14 | |||
15 | _builddir="$srcdir"/python-distutils-extra-$pkgver | ||
16 | prepare() { | ||
17 | local i | ||
18 | cd "$_builddir" | ||
19 | for i in $source; do | ||
20 | case $i in | ||
21 | *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; | ||
22 | esac | ||
23 | done | ||
24 | } | ||
25 | |||
26 | build() { | ||
27 | cd "$_builddir" | ||
28 | python setup.py build || return 1 | ||
29 | } | ||
30 | |||
31 | package() { | ||
32 | cd "$_builddir" | ||
33 | python setup.py install --root="$pkgdir" || return 1 | ||
34 | } | ||
35 | |||
36 | md5sums="7caded30a45907b5cdb10ac4182846eb python-distutils-extra-2.26.tar.gz" | ||