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=28.8.0
|
|
release=1
|
|
#source=(http://pypi.python.org/packages/source/s/$name/$name-$version.tar.gz)
|
|
source=(https://pypi.python.org/packages/25/4e/1b16cfe90856235a13872a6641278c862e4143887d11a12ac4905081197f/setuptools-28.8.0.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
|
|
}
|