# Contributor: Andrew Manison # Maintainer: Fabian Affolter pkgname=py-setuptools _pkgname=${pkgname#py-} pkgver=24.0.2 pkgrel=0 pkgdesc="A collection of enhancements to the Python distutils" url="http://pypi.python.org/pypi/setuptools" arch="noarch" license="PSF" depends="python" makedepends="python-dev" install="" subpackages="" source="${_pkgname}-${pkgver}.tar.gz::https://github.com/pypa/${_pkgname}/archive/v${pkgver}.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$builddir" python setup.py build || return 1 } package() { cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 # we don't provide a non-suffixed easy_install rm -f "$pkgdir"/usr/bin/easy_install || return 1 } md5sums="65013a19268df4629caa1cb0071b32f0 setuptools-24.0.2.tar.gz" sha256sums="8f61297dde9f8b5017c1e18aea4f9865c4a25f2ef3c77975aff783024bb05a99 setuptools-24.0.2.tar.gz" sha512sums="f3e09a97a3602fe83d26d053e32b962da6f03524583e2271ca609deaa9b74cbfb94d0fc12ffbe9d03d3f75fa126d6d78a186c2190837653048aa6e4d67b75dae setuptools-24.0.2.tar.gz"