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 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
7 name=python3-setuptools
10 source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
13 cd ${name#*-}-$version
15 export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
17 /usr/bin/python3 bootstrap.py
18 /usr/bin/python3 setup.py build
20 /usr/bin/python3 setup.py install \
21 --prefix=/usr --root=$PKG --optimize=1