wok diff python-nose/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 a9aa30e5bd71
children 076f424196b2
line diff
     1.1 --- a/python-nose/receipt	Mon Apr 06 10:58:44 2020 +0100
     1.2 +++ b/python-nose/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.3 @@ -16,6 +16,11 @@
     1.4  DEPENDS="python"
     1.5  BUILD_DEPENDS="python python-dev"
     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  {