wok-current diff python-future/receipt @ rev 25659
Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Feb 18 10:03:28 2024 +0000 (10 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-future/receipt Sun Feb 18 10:03:28 2024 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-future" 1.7 +VERSION="0.18.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The missing compatibility layer between Python 2 and Python 3." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +SOURCE="future" 1.13 +WEB_SITE="https://pypi.org/project/$SOURCE/" 1.14 + 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WGET_URL="https://files.pythonhosted.org/packages/source/f/$SOURCE/$TARBALL" 1.17 + 1.18 +DEPENDS="python" 1.19 +BUILD_DEPENDS="python python-setuptools" 1.20 + 1.21 +# What is the latest version available today? 1.22 +current_version() 1.23 +{ 1.24 + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" 1.25 +} 1.26 + 1.27 +# Rules to configure and make the package. 1.28 +compile_rules() 1.29 +{ 1.30 + python setup.py install --root=$DESTDIR 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + cp -a $install/usr $fs 1.37 +}