wok diff python-turbogears/receipt @ rev 25611
Add zx0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 01 18:37:27 2023 +0000 (14 months 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 Tue Aug 01 18:37:27 2023 +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.