summaryrefslogtreecommitdiffstats
path: root/abs/core/setuptools/PKGBUILD
blob: 022f93951add94ffd210b6df030cc14772773de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $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=1
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=('python')
source=(http://cheeseshop.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  mkdir -p $startdir/pkg/usr/lib/python2.6/site-packages
  python setup.py install --root=$startdir/pkg
  echo "/usr/lib/python2.6/site-packages/$pkgname-$pkgver-py2.6.egg" > $startdir/pkg/usr/lib/python2.6/site-packages/setuptools.pth
}

md5sums=('7df2a529a074f613b509fb44feefe74e')