aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-distutils-extra/APKBUILD
blob: 888c7b299184704664d6732c5697f40b6a0dfcdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-distutils-extra
pkgver=2.33
pkgrel=1
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="e4c2971bbf294af453d7144f2cb0aa70  python-distutils-extra-2.33.tar.gz"