aa1bfb7054
This reverts commit becc53c17b02193699e1206f3a92b9196361eeac.
24 lines
614 B
Plaintext
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
|
|
}
|