diff options
Diffstat (limited to 'pcr/python2-setuptools')
-rw-r--r-- | pcr/python2-setuptools/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/python2-setuptools/PKGBUILD b/pcr/python2-setuptools/PKGBUILD new file mode 100644 index 000000000..85f0caf32 --- /dev/null +++ b/pcr/python2-setuptools/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: cwchen <linuxisfun0104@gmail.com> +# Contributor: Florian Friesdorf <archlinux@chaoflow.net> +# Contributor: simo <simo@archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com> +# Contributor: Todd Maynard <arch@toddmaynard.com> + +pkgname=python2-setuptools +_pkgname=setuptools +pkgver=0.6c11 +pkgrel=2 +pkgdesc="A collection of enhancements to the Python distutils" +arch=('any') +url="http://peak.telecommunity.com/DevCenter/setuptools" +license=('PSF') +depends=('python2') +provides=('setuptools') +conflicts=('python2-distribute') +source=(http://pypi.python.org/packages/source/s/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) +md5sums=('7df2a529a074f613b509fb44feefe74e') + +package() { + cd ${srcdir}/${_pkgname}-${pkgver} + + python2 setup.py install --root=${pkgdir} --prefix=/usr + +# we don't provide a non-suffixed easy_install + echo "Removing non-suffixed easy_install" + rm ${pkgdir}/usr/bin/easy_install +} |