blob: 85b9b6f91379db6bb3d7aee6a29daed95e99846c (
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
34
|
# Contributor: Andrew Manison <amanison@anselsystems.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-setuptools
_pkgname=${pkgname#py-}
pkgver=20.5
pkgrel=0
pkgdesc="A collection of enhancements to the Python distutils"
url="http://pypi.python.org/pypi/setuptools"
arch="noarch"
license="PSF"
depends="python"
makedepends="python-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python setup.py build || return 1
}
package() {
cd "$builddir"
python 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="fadc1e1123ddbe31006e5e43e927362b setuptools-20.5.tar.gz"
sha256sums="456015dbe8add090a4d68f8756801866e3918fb0b7cf41d50af570098e638adc setuptools-20.5.tar.gz"
sha512sums="459bc75a5151b03d58ffd85dda4a6459711517814a424ffc3439c3fbb7b8d5d8c6fd54dcdc6a4be41fbf6fc510bdd62c3b388edc36fab6527f89b240f1b3c280 setuptools-20.5.tar.gz"
|