wok diff python-chardet/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | de3280120146 |
children | 97eb61f05460 |
line diff
1.1 --- a/python-chardet/receipt Sun Apr 05 14:43:51 2020 +0100 1.2 +++ b/python-chardet/receipt Thu May 12 11:01:25 2022 +0000 1.3 @@ -15,8 +15,13 @@ 1.4 DEPENDS="python" 1.5 BUILD_DEPENDS="python-dev python-setuptools" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.10 + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 - 1.15 compile_rules() 1.16 { 1.17 python setup.py install --root=$DESTDIR --optimize=1