summaryrefslogtreecommitdiff
path: root/pcr/python2-setuptools/PKGBUILD
blob: 85f0caf32b204c136c1a18b0a08a08e0e5355675 (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
25
26
27
28
29
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
}