2017-02-04 07:48:33 +01:00
|
|
|
# Description: Easily download, build, install, upgrade, and uninstall Python packages.
|
|
|
|
# URL: https://pypi.python.org/pypi/setuptools
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
|
|
|
|
name=python3-setuptools
|
2021-11-02 05:11:47 +01:00
|
|
|
version=58.4.0
|
2020-08-29 16:19:36 +02:00
|
|
|
release=1
|
2021-01-24 09:00:41 +01:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
|
2017-02-04 07:48:33 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
|
|
|
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
|
|
|
|
2018-07-01 23:36:28 +02:00
|
|
|
/usr/bin/python3 bootstrap.py
|
|
|
|
/usr/bin/python3 setup.py build
|
2017-02-04 07:48:33 +01:00
|
|
|
|
2018-07-01 23:36:28 +02:00
|
|
|
/usr/bin/python3 setup.py install \
|
|
|
|
--prefix=/usr --root=$PKG --optimize=1
|
2017-02-04 07:48:33 +01:00
|
|
|
}
|