wok diff python-gazpacho/receipt @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (12 days ago)
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	Wed Nov 13 15:24:31 2024 +0100
     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  {