wok-current diff python3-setuptools/receipt @ rev 25692
Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 22 16:28:42 2024 +0000 (3 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python3-setuptools/receipt Fri Mar 22 16:28:42 2024 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python3-setuptools" 1.7 +VERSION="46.1.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://pypi.org/project/setuptools/" 1.13 + 1.14 +SOURCE="setuptools" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz" 1.17 + 1.18 +DEPENDS="python3" 1.19 +BUILD_DEPENDS="python3 python3-dev" 1.20 + 1.21 +current_version() 1.22 +{ 1.23 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.24 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.25 +} 1.26 + 1.27 +# Rules to configure and make the package. 1.28 +compile_rules() 1.29 +{ 1.30 + python3 bootstrap.py && 1.31 + python3 setup.py build && 1.32 + python3 setup.py install --root=$DESTDIR 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + cp -a $install/usr $fs 1.39 +}