CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
python: updated to 2.7.17
[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
633cfdf3 8version=41.4.0
520b9323
VM
9release=1
10source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.zip)
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
22
23 rm $PKG/usr/bin/easy_install
24}