opt/python3-setuptools/Pkgfile
Danny Rawlins aa1bfb7054 Revert "python3-setuptools: ->"
This reverts commit becc53c17b.
2020-08-30 00:22:21 +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
}