CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
keyutils: updated to 1.6.1
[ports/opt-arm.git] / python3-setuptools / Pkgfile
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
7 name=python3-setuptools
8 version=41.4.0
9 release=1
10 source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.zip)
11
12 build() {
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 }