wok-6.x diff python-click/receipt @ rev 24411
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 09 17:57:59 2022 +0000 (2022-02-09) |
parents | de3280120146 |
children | 3abeffdae80b |
line diff
1.1 --- a/python-click/receipt Sun Apr 05 14:43:51 2020 +0100 1.2 +++ b/python-click/receipt Wed Feb 09 17:57:59 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 {