From 617af26654919d7a3dd71e5235f34dd627b56659 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 3 Mar 2013 12:05:52 +0000 Subject: testing/py-buildutils: license specified, add package() --- testing/py-buildutils/APKBUILD | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'testing') diff --git a/testing/py-buildutils/APKBUILD b/testing/py-buildutils/APKBUILD index cbc08cc7a..2ff65c319 100644 --- a/testing/py-buildutils/APKBUILD +++ b/testing/py-buildutils/APKBUILD @@ -1,24 +1,30 @@ # Contributor: Andrew Manison -# Maintainer: +# Maintainer: Fabian Affolter pkgname=py-buildutils _pkgname=${pkgname#py-} pkgver=0.3 pkgrel=1 -pkgdesc="buildutils is a collection of enhancements to the Python distutils" +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= +arch="noarch" +license="MIT" +depends="python" +makedepends="python-dev py-setuptools" +install="" subpackages="" source="http://pypi.python.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver 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 + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="fec620dee05f591edad386366b52e17b buildutils-0.3.tar.gz" +sha256sums="8f9921cf145a1879986b4028db0af4f028f65fe6eae29936490174037ba7dfc5 buildutils-0.3.tar.gz" +sha512sums="63e3c0e9737672abcb7f9b10909df69f93eb801eeb829f840aaabc37428fc640ed7df4232283f933e5f0bb80b0195624b1ba69aeba1b01b7a61250bf6e6b6421 buildutils-0.3.tar.gz" -- cgit v1.2.3