aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-distutils-extra/APKBUILD
blob: 460c981120dee2d563d258cc0f74029fd02a2ac4 (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
37
38
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-distutils-extra
pkgver=2.39
pkgrel=0
pkgdesc="Enhanced distutils package for python"
url="http://launchpad.net/python-distutils-extra"
arch="noarch"
license="GPL"
depends="py-setuptools"
makedepends="python2-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"
	python2 setup.py build || return 1
}

package() {
	cd "$_builddir"
	python2 setup.py install --root="$pkgdir" || return 1
}

md5sums="16e06db0ef73a35b4bff4b9eed5699b5  python-distutils-extra-2.39.tar.gz"
sha256sums="723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af  python-distutils-extra-2.39.tar.gz"
sha512sums="e3b4d1ed22767fb4c6dbbdccef960865b6fda01d18dc38cb8f9357c09c7eabb78466fce053e407a196eca257d07d57c5c1ef47f358a5979c7f22e4b11775124e  python-distutils-extra-2.39.tar.gz"