2014-01-20 00:55:51 +11:00
|
|
|
# Description: Easily download, build, install, upgrade, and uninstall Python packages.
|
2017-02-04 11:38:30 +11:00
|
|
|
# URL: https://pypi.python.org/pypi/setuptools
|
2014-11-10 23:25:50 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2018-07-02 07:06:33 +10:00
|
|
|
# Depends on: python
|
2014-01-20 00:55:51 +11:00
|
|
|
|
2017-02-18 15:45:14 +11:00
|
|
|
name=python-setuptools
|
2019-05-04 21:33:33 +10:00
|
|
|
version=41.0.1
|
2018-07-16 23:22:41 +10:00
|
|
|
release=1
|
2018-07-02 07:06:33 +10:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.zip)
|
2014-01-20 00:55:51 +11:00
|
|
|
|
|
|
|
build() {
|
2017-02-05 15:09:50 +11:00
|
|
|
cd ${name#*-}-$version
|
2014-01-20 00:55:51 +11:00
|
|
|
|
2016-12-16 15:31:58 +11:00
|
|
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
|
|
|
|
2018-07-02 07:06:33 +10:00
|
|
|
/usr/bin/python bootstrap.py
|
|
|
|
/usr/bin/python setup.py build
|
2014-01-20 00:55:51 +11:00
|
|
|
|
2018-07-02 07:06:33 +10:00
|
|
|
/usr/bin/python setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1
|
2014-01-20 00:55:51 +11:00
|
|
|
}
|