wok diff python-attrs/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 73f36875e5a7
children
line diff
     1.1 --- a/python-attrs/receipt	Thu Mar 09 18:12:54 2023 +0000
     1.2 +++ b/python-attrs/receipt	Fri Jan 05 10:31:44 2024 +0000
     1.3 @@ -17,8 +17,9 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - $WEB_SITE 2>/dev/null | \
     1.8 -	sed '/Release/!d;s|.*lease v||;s| .*||;q'
     1.9 +#	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +#	sed '/Release/!d;s|.*lease v||;s| .*||;q'
    1.11 +	wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q"
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.