blob: e76cf5967d62e89538d87e0be8f40258a90cb6c9 (
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
31
32
33
|
# Contributor: Andrew Manison <amanison@anselsystems.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-setuptools
_pkgname=${pkgname#py-}
pkgver=33.1.1
pkgrel=0
pkgdesc="A collection of enhancements to the Python distutils"
url="http://pypi.python.org/pypi/setuptools"
arch="noarch"
license="PSF"
provides="py2-setuptools"
depends="python2"
makedepends="python2-dev"
source="${_pkgname}-${pkgver}.tar.gz::https://github.com/pypa/${_pkgname}/archive/v${pkgver}.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python2 bootstrap.py || return 1
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
# we don't provide a non-suffixed easy_install
rm -f "$pkgdir"/usr/bin/easy_install || return 1
}
md5sums="6f325e870730cd90f3ac9608cdf6a82f setuptools-33.1.1.tar.gz"
sha256sums="a1ceebce3a0e2c6676ab03d6222a3f3cb403a392acb9e3919da5d1e1bbc447a4 setuptools-33.1.1.tar.gz"
sha512sums="4cc73881162be28b70cd9abe01bafc676b491608e5d22dd6b688043291eb42f7b1c6cb17d1e0c65a1f88e3896688991d446048e330426bcf3247baecc2eb1d06 setuptools-33.1.1.tar.gz"
|