opt/python3-setuptools/Pkgfile
2020-08-23 11:14:48 +10:00

24 lines
614 B
Plaintext

# Description: Easily download, build, install, upgrade, and uninstall Python packages.
# URL: https://pypi.python.org/pypi/setuptools
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3
name=python3-setuptools
version=50.0.0
release=1
source=(https://github.com/pypa/${name#*-}/archive/v$version/${name#*-}-v$version.tar.gz)
build() {
cd ${name#*-}-$version
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
/usr/bin/python3 bootstrap.py
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install \
--prefix=/usr --root=$PKG --optimize=1
rm $PKG/usr/bin/easy_install
}