24 lines
627 B
Plaintext
24 lines
627 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=40.8.0
|
|
release=2
|
|
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.zip)
|
|
|
|
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
|
|
}
|