wok diff python-html2text/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (5 months ago)
parents 2ef0a22a082b
children
line diff
     1.1 --- a/python-html2text/receipt	Wed Jul 13 10:52:13 2022 +0100
     1.2 +++ b/python-html2text/receipt	Fri Jan 05 10:31:44 2024 +0000
     1.3 @@ -16,10 +16,11 @@
     1.4  DEPENDS="python"
     1.5  BUILD_DEPENDS="python-dev python-distribute python-setuptools"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10 -	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    1.12 +	wget -O - https://github.com/Alir3z4/html2text/releases 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.