aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-setuptools/APKBUILD
blob: 6f23307c146562555d65d9a11736747746827e34 (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
# Contributor: Andrew Manison <amanison@anselsystems.com>
# Maintainer: 
pkgname=py-setuptools
_pkgname=${pkgname#py-}
pkgver=0.6c11
pkgrel=3
pkgdesc="setuptools is 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/s/$_pkgname/$_pkgname-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$_pkgname-$pkgver
	python setup.py build || return 1
}

package() {
	cd "$srcdir"/$_pkgname-$pkgver
	python setup.py install --root="$pkgdir"
	# we don't provide a non-suffixed easy_install
	echo "Removing non-suffixed easy_install ( $pkgdir/usr/bin/easy_install)"
	rm "$pkgdir"/usr/bin/easy_install
}

md5sums="7df2a529a074f613b509fb44feefe74e  setuptools-0.6c11.tar.gz"