wok diff tzdata/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents 934055de50e2
children d00aec28667f
line diff
     1.1 --- a/tzdata/receipt	Wed Feb 16 21:07:01 2022 +0000
     1.2 +++ b/tzdata/receipt	Mon Jun 13 19:39:39 2022 +0000
     1.3 @@ -20,8 +20,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
     1.8 -	sed "/latest/d;/$PACKAGE[0-9]/!d;/tar/!d;s|.*$PACKAGE\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - https://github.com/eggert/tz/tags 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.