25 lines
648 B
Plaintext
25 lines
648 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=2.1
|
|
release=2
|
|
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
|
|
|
|
chmod o-w -R $PKG/usr/lib/python2.7/site-packages/setuptools-*-py*.egg-info
|
|
}
|