mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-05 08:28:03 +00:00
18 lines
520 B
Plaintext
18 lines
520 B
Plaintext
# description : Easily download, build, install, upgrade, and uninstall Python packages
|
|
# depends : python3
|
|
|
|
name=python3-setuptools
|
|
version=40.8.0
|
|
release=1
|
|
source=(python-setuptools-$version.tar.gz::https://github.com/pypa/setuptools/archive/v$version.tar.gz)
|
|
md5sum=(b7fdae71d2008946edd2a55c22dffe2f)
|
|
|
|
build() {
|
|
cd setuptools-$version
|
|
|
|
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
|
|
python3 bootstrap.py
|
|
python3 setup.py build
|
|
python3 setup.py install --prefix=/usr --root="$PKG" --optimize=1 --skip-build
|
|
}
|