25 lines
622 B
Plaintext
25 lines
622 B
Plaintext
# Description: Easily download, build, install, upgrade, and uninstall Python packages.
|
|
# URL: http://pypi.python.org/pypi/setuptools
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Depends on: python
|
|
|
|
name=setuptools
|
|
version=5.6
|
|
release=1
|
|
source=(http://pypi.python.org/packages/source/s/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
/usr/bin/python setup.py build
|
|
|
|
/usr/bin/python setup.py install \
|
|
--prefix=/usr \
|
|
--root=$PKG \
|
|
--optimize=1 \
|
|
--skip-build
|
|
|
|
find $PKG -type f -perm -o=w -exec chmod o-w {} +
|
|
}
|