wok diff python-restclient/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 89d3440a509c
children 076f424196b2
line diff
     1.1 --- a/python-restclient/receipt	Tue Apr 07 07:15:27 2020 +0100
     1.2 +++ b/python-restclient/receipt	Thu Jan 13 18:29:05 2022 +0000
     1.3 @@ -15,6 +15,12 @@
     1.4  DEPENDS="python python-httplib2"
     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  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {