wok diff python-gazpacho/receipt @ rev 24938

mypaint-brushes: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 09:10:40 2022 +0000 (2022-04-14)
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	Thu Apr 14 09:10:40 2022 +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  {