smlinux/base/python-setuptools/python-setuptools.SMBuild
2022-09-23 11:42:48 +05:30

29 lines
742 B
Text
Executable file

app=python-setuptools
version=57.5.0
build=1sml
homepage="https://github.com/pypa/setuptools"
download="https://slackware.uk/slackware/slackware-15.0/source/d/python-setuptools/setuptools-$version.tar.lz"
desc="python module installation helper"
requires="python3"
build() {
mkandenterbuilddir
rm -rf setuptools-$version
tar xf $srcdir/setuptools-$version.tar.?z*
cd setuptools-$version
fixbuilddirpermissions
# Discard Windows binaries
rm -f setuptools/*.exe
python setup.py install --prefix="" --root=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
8a43126d246644eeffc34f5c3418ed31128b4a60d0965aadc258105e3e8545fa1716dc320393cf8a96b4a8558bb7bf8b62146dee443fa185f154dbb6c85ca6cb setuptools-57.5.0.tar.lz
"