27 lines
754 B
Plaintext
27 lines
754 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=32.0.0
|
|
release=1
|
|
#source=(https://github.com/pypa/setuptools/archive/v$version.tar.gz)
|
|
source=(https://pypi.python.org/packages/dc/37/f01d823fd312ba8ea6c3aea906d2d6ac9e9e8bf9e7853e34f296e94b0d0d/setuptools-32.0.0.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
|
|
|
/usr/bin/python bootstrap.py
|
|
/usr/bin/python setup.py build
|
|
|
|
/usr/bin/python setup.py install \
|
|
--prefix=/usr \
|
|
--root=$PKG \
|
|
--optimize=1 \
|
|
--skip-build
|
|
}
|