wok-current diff python-barcode/receipt @ rev 24288
fail2ban: add log4j-jndi.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 13 18:29:05 2022 +0000 (2022-01-13) |
parents | 5d50a02468c7 |
children | 076f424196b2 |
line diff
1.1 --- a/python-barcode/receipt Sun May 19 19:23:11 2019 +0200 1.2 +++ b/python-barcode/receipt Thu Jan 13 18:29:05 2022 +0000 1.3 @@ -14,6 +14,11 @@ 1.4 DEPENDS="python" 1.5 BUILD_DEPENDS="python python-setuptools wget" 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 {