wok-current diff python-markupsafe/receipt @ rev 25364
cpige: apply gibor patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 14:38:50 2022 +0000 (2022-07-28) |
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 Thu Jul 28 14:38:50 2022 +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 {