wok-6.x diff python-gevent/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 | 5b7a2e58cdab |
children | daea73103f19 |
line diff
1.1 --- a/python-gevent/receipt Sun May 19 16:11:22 2019 +0100 1.2 +++ b/python-gevent/receipt Thu Jan 13 18:29:05 2022 +0000 1.3 @@ -15,6 +15,11 @@ 1.4 DEPENDS="python" 1.5 BUILD_DEPENDS="file libevent-dev 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 {