wok diff python-vobject/receipt @ rev 24373
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 05 16:12:08 2022 +0000 (2022-02-05) |
parents | 7ef7da602a74 |
children | 076f424196b2 |
line diff
1.1 --- a/python-vobject/receipt Tue Apr 07 13:24:38 2020 +0100 1.2 +++ b/python-vobject/receipt Sat Feb 05 16:12:08 2022 +0000 1.3 @@ -15,6 +15,11 @@ 1.4 DEPENDS="python python-dateutil" 1.5 BUILD_DEPENDS="python python-dev 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 {