wok diff python-gazpacho/receipt @ rev 24118
Add checker_online
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 04 14:07:53 2021 +0000 (2021-10-04) |
parents | e66efc062996 |
children |
line diff
1.1 --- a/python-gazpacho/receipt Tue Jul 30 10:35:07 2019 +0200 1.2 +++ b/python-gazpacho/receipt Mon Oct 04 14:07:53 2021 +0000 1.3 @@ -10,11 +10,17 @@ 1.4 SUGGESTED="twisted" 1.5 TARBALL="$SOURCE-$VERSION.tar.gz" 1.6 WEB_SITE="https://web.archive.org/web/20090425115052/http://gazpacho.sicem.biz/" 1.7 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL" 1.8 +WGET_URL="https://download.gnome.org/sources/$SOURCE/${VERSION%.*}/$TARBALL" 1.9 1.10 DEPENDS="python pygtk python-kiwi" 1.11 BUILD_DEPENDS="python python-dev pygtk python-kiwi" 1.12 1.13 +current_version() 1.14 +{ 1.15 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.16 + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.17 +} 1.18 + 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 {