PKGBUILDs/extra/python-distribute/PKGBUILD
2010-11-09 05:01:20 -06:00

24 lines
879 B
Bash

# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Sebastien Binet <binet@farnsworth>
# Plugbox changes: Submitted by pepedog to replace ABS for python 2.6/7/3.0
pkgname=python-distribute
pkgver=0.6.14
pkgrel=5
pkgdesc="A collection of extensions to the Python distutils"
arch=('any')
license=('PSF')
url="http://packages.python.org/distribute"
depends=('python2')
source=(http://pypi.python.org/packages/source/d/distribute/distribute-${pkgver}.tar.gz
distribute-${pkgver}_python2_and_3.patch)
sha1sums=('6bea50b97f36bf751548bb486a534204a690aa4d'
'de635febfb11dc6878e5bdbac4a0e1d539c19d79')
package() {
cd ${srcdir}/distribute-${pkgver}
patch -Np1 -i ../distribute-${pkgver}_python2_and_3.patch
python2 setup.py install --prefix=/usr --root=${pkgdir}
}
# vim: set noexpandtab tabstop=8 shiftwidth=8 textwidth=132 autoindent