24 lines
680 B
Plaintext
24 lines
680 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=25.1.1
|
|
release=1
|
|
#source=(http://pypi.python.org/packages/source/s/$name/$name-$version.tar.gz)
|
|
source=(https://pypi.python.org/packages/9c/25/fa63da717a694ecf3bdb27f438450f535cdcabd77a955b5b05113f1abd11/setuptools-25.1.1.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
|
|
}
|