wok diff python-html5lib/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (24 months ago)
parents 4a5922739788
children
line diff
     1.1 --- a/python-html5lib/receipt	Wed Jul 13 10:59:56 2022 +0100
     1.2 +++ b/python-html5lib/receipt	Sun Jul 16 18:06:38 2023 +0000
     1.3 @@ -18,10 +18,11 @@
     1.4  
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10 -	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    1.12 +	wget -O - https://github.com/html5lib/html5lib-python/tags 2>/dev/null | \
    1.13 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.14  }
    1.15  
    1.16  # Rules to configure and make the package.