wok-current annotate python3-setuptools/receipt @ rev 25687
Up expat CVE-2024-28757
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 15 07:23:20 2024 +0000 (10 months ago) |
parents | |
children | 5926178cd6fa |
rev | line source |
---|---|
shann@25629 | 1 # SliTaz package receipt. |
shann@25629 | 2 |
shann@25629 | 3 PACKAGE="python3-setuptools" |
shann@25629 | 4 VERSION="46.1.3" |
shann@25629 | 5 CATEGORY="development" |
shann@25629 | 6 SHORT_DESC="Easily download, build, install, upgrade, and uninstall Python packages." |
shann@25629 | 7 MAINTAINER="maintainer@slitaz.org" |
shann@25629 | 8 LICENSE="MIT" |
shann@25629 | 9 WEB_SITE="https://pypi.org/project/setuptools/" |
shann@25629 | 10 |
shann@25629 | 11 SOURCE="setuptools" |
shann@25629 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
shann@25629 | 13 WGET_URL="https://github.com/pypa/$SOURCE/archive/v$VERSION.tar.gz" |
shann@25629 | 14 |
shann@25629 | 15 DEPENDS="python3" |
shann@25629 | 16 BUILD_DEPENDS="python3 python3-dev" |
shann@25629 | 17 |
shann@25629 | 18 current_version() |
shann@25629 | 19 { |
shann@25629 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
shann@25629 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
shann@25629 | 22 } |
shann@25629 | 23 |
shann@25629 | 24 # Rules to configure and make the package. |
shann@25629 | 25 compile_rules() |
shann@25629 | 26 { |
shann@25629 | 27 python3 bootstrap.py && |
shann@25629 | 28 python3 setup.py build && |
shann@25629 | 29 python3 setup.py install --root=$DESTDIR |
shann@25629 | 30 } |
shann@25629 | 31 |
shann@25629 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@25629 | 33 genpkg_rules() |
shann@25629 | 34 { |
shann@25629 | 35 cp -a $install/usr $fs |
shann@25629 | 36 } |