summaryrefslogtreecommitdiffstats
path: root/abs/extra/python2-distribute/PKGBUILD
blob: 5c84613b8698c4415fcb95620d7679bcbb643804 (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
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Sebastien Binet <binet@farnsworth>
pkgname=python2-distribute
pkgver=0.6.14
pkgrel=2
pkgdesc="A collection of extensions to the Python 2 distutils"
arch=('any')
license=('PSF')
url="http://packages.python.org/distribute"
depends=('python2')
conflicts=('setuptools')
replaces=('setuptools')
provides=('setuptools=0.6c11')
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