wok diff python-chardet/receipt @ rev 25663
Update some perl* web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 23 15:13:32 2024 +0000 (18 months ago) |
parents | 97eb61f05460 |
children |
line diff
1.1 --- a/python-chardet/receipt Fri Jul 01 14:57:06 2022 +0100 1.2 +++ b/python-chardet/receipt Fri Feb 23 15:13:32 2024 +0000 1.3 @@ -16,10 +16,11 @@ 1.4 DEPENDS="python python-setuptools" 1.5 BUILD_DEPENDS="python-dev 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/chardet/chardet/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.