wok diff python-itsdangerous/receipt @ rev 24336

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 28 18:19:21 2022 +0000 (2022-01-28)
parents b73236c45914
children 076f424196b2
line diff
     1.1 --- a/python-itsdangerous/receipt	Mon Apr 06 07:39:15 2020 +0100
     1.2 +++ b/python-itsdangerous/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.3 @@ -15,6 +15,11 @@
     1.4  DEPENDS="python"
     1.5  BUILD_DEPENDS="python python-setuptools"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
    1.10 +}
    1.11 +
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {