blob: 946020d524505cf197600e98f8254fb0157af92e (
plain)
1 # Description: Easily download, build, install, upgrade, and uninstall Python packages.
2 # URL: https://pypi.python.org/pypi/setuptools
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=python3-setuptools
6 version=59.4.0
7 release=1
8 source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
9
10 build() {
11 cd ${name#*-}-$version
12
13 export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
14
15 /usr/bin/python3 bootstrap.py
16 /usr/bin/python3 setup.py build
17
18 /usr/bin/python3 setup.py install \
19 --prefix=/usr --root=$PKG --optimize=1
20 }
|