opt/setuptools/Pkgfile
2015-11-30 20:28:13 +11:00

25 lines
597 B
Plaintext

# Description: Easily download, build, install, upgrade, and uninstall Python packages.
# URL: http://pypi.python.org/pypi/setuptools
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
# Depends on: python
name=setuptools
version=18.6.1
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 {} +
}