blob: 46dd3123bfdd1d460dedf2e2cebcc052f181f962 (
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.8.0
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="a728fb0f3e14d26f50022290ae2d6cc7 setuptools-20.8.0.tar.gz"
sha256sums="4ff6eb20d6eaf23f358b0b885abf1cd7d01cd62827a5ed0e49f39451a0a42745 setuptools-20.8.0.tar.gz"
sha512sums="b5569e15edbcea21ee065c316fb184f9cbaa9daa1053c9eae3293e0e10ef53cf228c17d48ec057dc1c5c9a05c8d64148b8d576e4815fdb1f3aacc10938d8a2a2 setuptools-20.8.0.tar.gz"
|