summaryrefslogtreecommitdiffstats
path: root/abs/core/setuptools/PKGBUILD
blob: ccf09416b586e65bcc5790614d487d25ba9b99c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 16826 2008-10-22 12:40:52Z douglas $
# Maintainer: simo <simo@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Todd Maynard <arch@toddmaynard.com>

pkgname=setuptools
pkgver=0.6c11
pkgrel=2
pkgdesc="setuptools is a collection of enhancements to the Python distutils"
license=('PSF')
arch=('i686' 'x86_64')
url="http://peak.telecommunity.com/DevCenter/setuptools"
depends=('python2')
source=(http://cheeseshop.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz)

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  mkdir -p ${pkgdir}/usr/lib/python2.6/site-packages
  python2 setup.py install --root=${pkgdir}
  echo "/usr/lib/python2.6/site-packages/${pkgname}-${pkgver}-py2.6.egg" > ${pkgdir}/usr/lib/python2.6/site-packages/setuptools.pth
}
md5sums=('7df2a529a074f613b509fb44feefe74e')