wok-6.x diff python-ipy/receipt @ rev 25102
Use archive.org for some broken wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 21 16:00:20 2022 +0000 (2022-06-21) |
parents | 095836df71b7 |
children | 4af3f9be894a |
line diff
1.1 --- a/python-ipy/receipt Thu Jan 27 12:16:00 2022 +0000 1.2 +++ b/python-ipy/receipt Tue Jun 21 16:00:20 2022 +0000 1.3 @@ -18,7 +18,7 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 1.8 + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" 1.9 } 1.10 1.11 # Rules to configure and make the package.