1
0
forked from ports/opt

22 lines
591 B
Plaintext
Raw Normal View History

# Description: Easily download, build, install, upgrade, and uninstall Python packages.
# URL: https://pypi.python.org/pypi/setuptools
2014-11-10 23:25:50 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python
name=python-setuptools
2019-09-21 14:27:22 +10:00
version=41.2.0
2018-07-16 23:22:41 +10:00
release=1
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.zip)
build() {
2017-02-05 15:09:50 +11:00
cd ${name#*-}-$version
2016-12-16 15:31:58 +11:00
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
}