CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
llvm: updated to 14.0.6
[ports/opt-arm.git] / python3-setuptools / Pkgfile
CommitLineData
520b9323
VM
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
5# Depends on: python3
6
7name=python3-setuptools
335085ba 8version=59.5.0
520b9323 9release=1
3fcd3326 10source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
520b9323
VM
11
12build() {
13 cd ${name#*-}-$version
14
15 export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
16
17 /usr/bin/python3 bootstrap.py
18 /usr/bin/python3 setup.py build
19
20 /usr/bin/python3 setup.py install \
21 --prefix=/usr --root=$PKG --optimize=1
520b9323 22}