wok diff python-random2/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 | b8aff98e30bb |
children | 076f424196b2 |
line diff
1.1 --- a/python-random2/receipt Sat Jun 13 15:49:44 2020 +0100 1.2 +++ b/python-random2/receipt Thu Jan 13 18:29:05 2022 +0000 1.3 @@ -15,6 +15,12 @@ 1.4 DEPENDS="python" 1.5 BUILD_DEPENDS="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 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {