# Contributor: Andrew Manison # 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" url="http://pypi.python.org/pypi/buildutils/0.3" arch="noarch" license="MIT" depends="python2" makedepends="python2-dev py-setuptools" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" python2 setup.py build || return 1 } package() { cd "$_builddir" python2 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"