wok-current diff python-markupsafe/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 | 6459e4820526 |
children |
line diff
1.1 --- a/python-markupsafe/receipt Mon Apr 06 09:22:36 2020 +0100 1.2 +++ b/python-markupsafe/receipt Sun Feb 18 10:03:28 2024 +0000 1.3 @@ -1,3 +1,5 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 PACKAGE="python-markupsafe" 1.7 VERSION="1.1.1" 1.8 CATEGORY="development" 1.9 @@ -13,6 +15,13 @@ 1.10 DEPENDS="python" 1.11 BUILD_DEPENDS="python python-dev python-setuptools" 1.12 1.13 +# What is the latest version available today? 1.14 +current_version() 1.15 +{ 1.16 + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ 1.17 + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" 1.18 +} 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 {