wok diff python-oauth2/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (24 months ago)
parents b569b85b0fb9
children
line diff
     1.1 --- a/python-oauth2/receipt	Mon Jan 17 18:18:17 2022 +0000
     1.2 +++ b/python-oauth2/receipt	Sat Jun 18 20:27:19 2022 +0000
     1.3 @@ -19,8 +19,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - $WEB_SITE/tags 2>/dev/null | \
     1.8 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
     1.9 +	wget -O - https://pypi.org/project/oauth2/ 2>/dev/null | \
    1.10 +	sed '/oauth2 [0-9]/!d;s|.*oauth2 ||;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.