2014-01-19 14:55:51 +01:00
|
|
|
# Description: Easily download, build, install, upgrade, and uninstall Python packages.
|
|
|
|
# URL: http://pypi.python.org/pypi/setuptools
|
2014-11-10 13:25:50 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
2014-01-19 14:55:51 +01:00
|
|
|
# Depends on: python
|
|
|
|
|
|
|
|
name=setuptools
|
2014-09-10 11:43:33 +02:00
|
|
|
version=5.7
|
2014-08-15 09:57:35 +02:00
|
|
|
release=1
|
2014-01-19 14:55:51 +01:00
|
|
|
source=(http://pypi.python.org/packages/source/s/$name/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2014-01-27 08:31:16 +01:00
|
|
|
/usr/bin/python setup.py build
|
2014-01-19 14:55:51 +01:00
|
|
|
|
2014-01-27 08:31:16 +01:00
|
|
|
/usr/bin/python setup.py install \
|
2014-01-19 14:55:51 +01:00
|
|
|
--prefix=/usr \
|
|
|
|
--root=$PKG \
|
|
|
|
--optimize=1 \
|
|
|
|
--skip-build
|
2014-01-26 01:48:44 +01:00
|
|
|
|
2014-08-15 09:57:35 +02:00
|
|
|
find $PKG -type f -perm -o=w -exec chmod o-w {} +
|
2014-01-19 14:55:51 +01:00
|
|
|
}
|