summaryrefslogtreecommitdiffstats
path: root/testing/py-buildutils/APKBUILD
blob: dd1bcd8a8ae9fa24f174941eff28128d0c116827 (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
# Contributor: Andrew Manison <amanison@anselsystems.com>
# Maintainer: 
pkgname=py-buildutils
_pkgname=${pkgname#py-}
pkgver=0.3
pkgrel=0
pkgdesc="buildutils is a collection of enhancements to the Python distutils"
url="http://pypi.python.org/pypi/buildutils/0.3"
arch="all"
license="GPL"
depends="python py-setuptools"
makedepends="python-dev"
install=
subpackages=""
source="http://pypi.python.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$_pkgname-$pkgver
	mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
	python setup.py install --root="$pkgdir"
	echo "/usr/lib/python2.6/site-packages/$_pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_pkgname.pth
}

md5sums="fec620dee05f591edad386366b52e17b  buildutils-0.3.tar.gz"