wok diff python-futures/receipt @ rev 24353
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 12:55:23 2022 +0000 (2022-02-03) |
parents | fc917bce0480 |
children | 076f424196b2 |
line diff
1.1 --- a/python-futures/receipt Sun Apr 05 17:16:31 2020 +0100 1.2 +++ b/python-futures/receipt Thu Feb 03 12:55:23 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 {