wok-current diff python-usb/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 | 36c1f0aa6f5d |
children | 076f424196b2 |
line diff
1.1 --- a/python-usb/receipt Tue Apr 07 11:08:41 2020 +0100 1.2 +++ b/python-usb/receipt Thu Jan 13 18:29:05 2022 +0000 1.3 @@ -15,6 +15,11 @@ 1.4 DEPENDS="libusb python" 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 compile_rules() 1.14 {