wok diff python-turbogears/receipt @ rev 25779

Up fdutils (5.6), lite (1.11), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 09:24:30 2024 +0000 (2 days ago)
parents 79b956933702
children
line diff
     1.1 --- a/python-turbogears/receipt	Thu Jul 14 06:48:39 2022 +0100
     1.2 +++ b/python-turbogears/receipt	Fri Sep 20 09:24:30 2024 +0000
     1.3 @@ -19,10 +19,11 @@
     1.4  	python-simplejson sqlobject"
     1.5  BUILD_DEPENDS="python-dev python-setuptools"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - https://github.com/TurboGears/tg2/releases 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/tg\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/[a-z]*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.