# HG changeset patch # User Pascal Bellard # Date 1644148317 0 # Node ID 076f424196b2bfd9e0ab82f80d2707b216ab0a7e # Parent 3d94ada036f772c197cd0843c1b112127b5d1b1e Update some current_version diff -r 3d94ada036f7 -r 076f424196b2 apr/receipt --- a/apr/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/apr/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -20,7 +20,7 @@ current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/asc/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 azpainter/receipt --- a/azpainter/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/azpainter/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -18,8 +18,8 @@ current_version() { - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/-\/tags\//!d;s|.*">v*||;s|<.*||' | tail -n1 } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 bluefish/receipt --- a/bluefish/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/bluefish/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="aspell gtk+ libxml2 pcre shared-mime-info xorg-libXdamage" BUILD_DEPENDS="expat-dev gtk+-dev intltool libxml2-dev pcre-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/[0-9] release/!d;s|.*Bluefish ||;s| release.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3d94ada036f7 -r 076f424196b2 bsc/receipt --- a/bsc/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/bsc/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,7 +16,7 @@ current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 cdrtools/receipt --- a/cdrtools/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/cdrtools/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="" BUILD_DEPENDS="acl-dev libcap-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/cdrtools/files/alpha/ 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/cdrtools-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3d94ada036f7 -r 076f424196b2 clamtk/receipt --- a/clamtk/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/clamtk/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -17,6 +17,13 @@ perl-net-dns perl-net-ssleay perl-text-csv perl-try-tiny udev slitaz-icon" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/dave-theunsub/clamtk/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3d94ada036f7 -r 076f424196b2 clisp/receipt --- a/clisp/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/clisp/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="readline ncurses libffcall" BUILD_DEPENDS="readline-dev libsigsegv libffcall file" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/urrent version/!d;s|.*th>||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3d94ada036f7 -r 076f424196b2 crunch/receipt --- a/crunch/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/crunch/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,7 +16,7 @@ current_version() { wget -O - https://sourceforge.net/projects/crunch-wordlist/files/crunch-wordlist/ 2>/dev/null | \ - sed '/scope="row/!d;/tgz/!d;s|.*list/crunch-/||;s|.tgz.*||;q' + sed '/scope="row/!d;/tgz/!d;s|.*list/crunch-||;s|.tgz.*||;q' } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 csstidy/receipt --- a/csstidy/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/csstidy/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="scons" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/C++/!d;s|.*(PHP), ||;s| (C.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3d94ada036f7 -r 076f424196b2 cwallpaper-fltk/receipt --- a/cwallpaper-fltk/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/cwallpaper-fltk/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="fltk" BUILD_DEPENDS="fltk-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://cwallpaper.sourceforge.net/download.php 2>/dev/null | \ + sed '/cwallpaper-fltk/!d;s|.*-fltk_||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3d94ada036f7 -r 076f424196b2 php-docs-en/receipt --- a/php-docs-en/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/php-docs-en/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -11,12 +11,6 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.php.net/distributions/manual/php_manual_en.tar.gz" -current_version() -{ - wget -O - https://pear.php.net/package/Auth_SASL 2>/dev/null | \ - sed '/released/!d;s|.*>\([0-9\.]*\)<.*|\1|' -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 3d94ada036f7 -r 076f424196b2 pyhn/receipt --- a/pyhn/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/pyhn/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -13,13 +13,6 @@ DEPENDS="python python-urwid" BUILD_DEPENDS="python-dev python-urwid git bzip2" -# What is the latest version available today? -current_version() -{ - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/Release/!d;s|.*>Release ||;s|<.*||;q' -} - # Rules to configure and make the package. compile_rules() { diff -r 3d94ada036f7 -r 076f424196b2 pymux/receipt --- a/pymux/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/pymux/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -5,7 +5,7 @@ CATEGORY="utilities" SHORT_DESC="A terminal multiplexer (like tmux) in Python." MAINTAINER="paul@slitaz.org" -WEB_SITE="https://github.com/jonathanslenders/pymux" +WEB_SITE="https://pypi.org/project/pymux/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL" @@ -17,8 +17,7 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' + wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-asterisk/receipt --- a/python-asterisk/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-asterisk/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,10 +14,10 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-backports_abc/receipt --- a/python-backports_abc/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-backports_abc/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,9 +14,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-barcode/receipt --- a/python-barcode/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-barcode/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,9 +14,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools wget" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-bcrypt/receipt --- a/python-bcrypt/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-bcrypt/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,13 +15,13 @@ DEPENDS="python-cffi" BUILD_DEPENDS="libffi-dev python-cffi python-cparser python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py build && diff -r 3d94ada036f7 -r 076f424196b2 python-bpython/receipt --- a/python-bpython/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-bpython/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -6,18 +6,19 @@ SHORT_DESC="A fancy interface to the Python interpreter." MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" +SOURCE="bpython" WEB_SITE="https://pypi.org/project/$SOURCE/" -SOURCE="bpython" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/b/$SOURCE/$TARBALL" DEPENDS="python python-pygments python-setuptools" BUILD_DEPENDS="$DEPENDS python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-caldav/receipt --- a/python-caldav/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-caldav/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-docutils/receipt --- a/python-docutils/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-docutils/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-flup/receipt --- a/python-flup/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-flup/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-distribute python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-formalchemy/receipt --- a/python-formalchemy/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-formalchemy/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ python-webhelpers python-webob" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-futures/receipt --- a/python-futures/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-futures/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -6,18 +6,19 @@ SHORT_DESC="A backport of the concurrent.futures package from Python 3." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" +SOURCE="futures" WEB_SITE="https://pypi.org/project/$SOURCE/" -SOURCE="futures" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/f/$SOURCE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-gdata/receipt --- a/python-gdata/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-gdata/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -6,18 +6,19 @@ SHORT_DESC="The Google Data APIs for Python." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Apache" +SOURCE="gdata" WEB_SITE="https://pypi.org/project/$SOURCE/" -SOURCE="gdata" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/g/$SOURCE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-gevent/receipt --- a/python-gevent/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-gevent/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="file libevent-dev python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-http-parser/receipt --- a/python-http-parser/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-http-parser/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,10 +16,10 @@ DEPENDS="python" BUILD_DEPENDS="python-cython python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/, version/!d;s|.*version ||;s|<.*||;q' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-ipy/receipt --- a/python-ipy/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-ipy/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -18,7 +18,7 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-itsdangerous/receipt --- a/python-itsdangerous/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-itsdangerous/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-jedi/receipt --- a/python-jedi/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-jedi/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-jinja2/receipt --- a/python-jinja2/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-jinja2/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python python-markupsafe" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-llfuse/receipt --- a/python-llfuse/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-llfuse/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ BUILD_DEPENDS="attr-dev fuse-dev openssl python python-dev python-distribute python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-lxml/receipt --- a/python-lxml/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-lxml/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="libxml2 libxslt python zlib" BUILD_DEPENDS="libxml2 libxml2-dev libxslt libxslt-dev python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-mechanize/receipt --- a/python-mechanize/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-mechanize/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -17,9 +17,10 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-mygpoclient/receipt --- a/python-mygpoclient/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-mygpoclient/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python python-simplejson" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-netaddr/receipt --- a/python-netaddr/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-netaddr/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -17,9 +17,10 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-netifaces/receipt --- a/python-netifaces/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-netifaces/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -6,18 +6,19 @@ SHORT_DESC="Portable access to network interfaces from Python." MAINTAINER="monghitri@aruba.it" LICENSE="MIT" +SOURCE="netifaces" WEB_SITE="https://pypi.org/project/$SOURCE/" -SOURCE="netifaces" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/n/$SOURCE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-nose/receipt --- a/python-nose/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-nose/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-opengl-accelerate/receipt --- a/python-opengl-accelerate/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-opengl-accelerate/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python python-opengl" BUILD_DEPENDS="python python-dev python-opengl" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed '/PyOpenGL [0-9]/!d;s|.*PyOpenGL ||;s|<.*||;q' } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-opengl/receipt --- a/python-opengl/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-opengl/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="freeglut python python-numpy python-pil" BUILD_DEPENDS="freeglut-dev python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-openid/receipt --- a/python-openid/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-openid/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,9 +14,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-paste/receipt --- a/python-paste/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-paste/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -18,9 +18,10 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pastedeploy/receipt --- a/python-pastedeploy/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pastedeploy/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="python python-paste" BUILD_DEPENDS="$DEPENDS python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pastescript/receipt --- a/python-pastescript/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pastescript/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="python python-paste python-pastedeploy" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pbr/receipt --- a/python-pbr/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pbr/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pdfkit/receipt --- a/python-pdfkit/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pdfkit/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -7,15 +7,17 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://pypi.org/project/pdfkit/" +SOURCE="bundled-pdfkit" +WEB_SITE="https://pypi.org/project/$SOURCE/" WGET_URL="https://files.pythonhosted.org/packages/a1/98/6988328f72fe3be4cbfcb6cbfc3066a00bf111ca7821a83dd0ce56e2cf57/pdfkit-$VERSION.tar.gz" DEPENDS="python wkhtmltopdf" BUILD_DEPENDS="python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-phonenumbers/receipt --- a/python-phonenumbers/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-phonenumbers/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-ply/receipt --- a/python-ply/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-ply/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -18,9 +18,10 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-psutil/receipt --- a/python-psutil/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-psutil/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -6,9 +6,9 @@ SHORT_DESC="A process and system utilities module for Python." MAINTAINER="paul@slitaz.org" LICENSE="BSD" +SOURCE="psutil" WEB_SITE="https://pypi.org/project/$SOURCE/" -SOURCE="psutil" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" @@ -17,9 +17,10 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-ptyprocess/receipt --- a/python-ptyprocess/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-ptyprocess/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,9 +14,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pyalsaaudio/receipt --- a/python-pyalsaaudio/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pyalsaaudio/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="alsa-lib python" BUILD_DEPENDS="alsa-lib-dev python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pybluez/receipt --- a/python-pybluez/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pybluez/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="bluez python" BUILD_DEPENDS="$DEPENDS bluez-dev python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pygments/receipt --- a/python-pygments/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pygments/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pylons/receipt --- a/python-pylons/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pylons/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pyparsing/receipt --- a/python-pyparsing/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pyparsing/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-pysol-cards/receipt --- a/python-pysol-cards/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pysol-cards/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,13 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-pbr python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/${SOURCE/_/-} [0-9]/!d;s|.*${SOURCE/_/-} ||;s|<.*||;q" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR diff -r 3d94ada036f7 -r 076f424196b2 python-pysqlite/receipt --- a/python-pysqlite/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pysqlite/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -6,22 +6,22 @@ SHORT_DESC="Python interface for the SQLite database." MAINTAINER="sygne@ombres.eu" LICENSE="zlib/libpng" +SOURCE="pysqlite" WEB_SITE="https://pypi.org/project/$SOURCE/" -SOURCE="pysqlite" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" DEPENDS="python sqlite" BUILD_DEPENDS="python python-dev sqlite-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { cp $stuff/setup.cfg . diff -r 3d94ada036f7 -r 076f424196b2 python-pytz/receipt --- a/python-pytz/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pytz/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,13 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py build && diff -r 3d94ada036f7 -r 076f424196b2 python-pywebdav/receipt --- a/python-pywebdav/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-pywebdav/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,13 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py develop && diff -r 3d94ada036f7 -r 076f424196b2 python-random2/receipt --- a/python-random2/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-random2/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,13 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR diff -r 3d94ada036f7 -r 076f424196b2 python-reportlab/receipt --- a/python-reportlab/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-reportlab/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,13 +15,13 @@ DEPENDS="freetype python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py build && diff -r 3d94ada036f7 -r 076f424196b2 python-requests/receipt --- a/python-requests/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-requests/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,13 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py install --no-compile --root=$install diff -r 3d94ada036f7 -r 076f424196b2 python-restclient/receipt --- a/python-restclient/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-restclient/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,13 +15,13 @@ DEPENDS="python python-httplib2" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR diff -r 3d94ada036f7 -r 076f424196b2 python-restkit/receipt --- a/python-restkit/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-restkit/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,13 +15,13 @@ DEPENDS="python python-http-parser python-socketpool" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR diff -r 3d94ada036f7 -r 076f424196b2 python-routes/receipt --- a/python-routes/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-routes/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -18,13 +18,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR diff -r 3d94ada036f7 -r 076f424196b2 python-serial/receipt --- a/python-serial/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-serial/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -17,13 +17,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. -# Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR diff -r 3d94ada036f7 -r 076f424196b2 python-setproctitle/receipt --- a/python-setproctitle/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-setproctitle/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,9 +14,10 @@ DEPENDS="python" BUILD_DEPENDS="python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-shapely/receipt --- a/python-shapely/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-shapely/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="geos python" BUILD_DEPENDS="geos-dev python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-singledispatch/receipt --- a/python-singledispatch/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-singledispatch/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,9 +14,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-six/receipt --- a/python-six/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-six/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -17,9 +17,10 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-smspdu/receipt --- a/python-smspdu/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-smspdu/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -14,9 +14,10 @@ DEPENDS="python" BUILD_DEPENDS="python" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-sqlalchemy/receipt --- a/python-sqlalchemy/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-sqlalchemy/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-terminado/receipt --- a/python-terminado/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-terminado/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python python-ptyprocess python-tornado" BUILD_DEPENDS="python" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-tweepy/receipt --- a/python-tweepy/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-tweepy/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-twodict/receipt --- a/python-twodict/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-twodict/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -16,9 +16,10 @@ DEPENDS="python" BUILD_DEPENDS="python" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-urwid/receipt --- a/python-urwid/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-urwid/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-usb/receipt --- a/python-usb/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-usb/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="libusb python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-vatnumber/receipt --- a/python-vatnumber/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-vatnumber/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-vobject/receipt --- a/python-vobject/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-vobject/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python python-dateutil" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-wcwidth/receipt --- a/python-wcwidth/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-wcwidth/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-websocket-client/receipt --- a/python-websocket-client/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-websocket-client/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python" BUILD_DEPENDS="python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/${SOURCE/_/-} [0-9]/!d;s|.*${SOURCE/_/-} ||;s|<.*||;q" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 python-xlwt/receipt --- a/python-xlwt/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/python-xlwt/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,9 +15,10 @@ DEPENDS="python python-antlr" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 sbackup/receipt --- a/sbackup/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/sbackup/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -22,7 +22,7 @@ wget -O - https://sourceforge.net/projects/sbackup/files/sbackup/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;/tar/!ds|.*/sbackup_||;s|.tar.*||;q' + sed '/scope="row/!d;/tar/!d;s|.*/sbackup_||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 spk/receipt --- a/spk/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/spk/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -15,7 +15,7 @@ { wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ - xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||;s|.|&.|g;s|.$||' } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 unbound/receipt --- a/unbound/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/unbound/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -20,7 +20,7 @@ current_version() { wget -O - "${WGET_URL%/*}?C=M;O=A" 2>/dev/null | \ - sed "/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1 + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1 } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 voxelands/receipt --- a/voxelands/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/voxelands/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -18,10 +18,11 @@ libvorbis-dev luajit-dev mesa-dev openal-dev sqlite-dev \ xorg-libXxf86vm-dev cmake" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/tar.gz/!d;s|.*/voxelands-\(.*\).tar.gz".*|\1|;q' + sed '/tar.gz/!d;/data/d;s|.*/voxelands-v*\(.*\).tar.gz".*|v\1|' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 3d94ada036f7 -r 076f424196b2 xxdiff/receipt --- a/xxdiff/receipt Sun Feb 06 10:59:31 2022 +0100 +++ b/xxdiff/receipt Sun Feb 06 11:51:57 2022 +0000 @@ -1,14 +1,14 @@ # SliTaz package receipt. PACKAGE="xxdiff" -VERSION="4.01" +VERSION="4.0.1" CATEGORY="development" SHORT_DESC="A graphical front end to the diff command." MAINTAINER="developer@slitaz.org" LICENSE="GPL2" WEB_SITE="http://furius.ca/xxdiff/" -TARBALL="$PACKAGE-${VERSION/./}.tar.xz" +TARBALL="$PACKAGE-${VERSION//./}.tar.xz" WGET_URL="http://ponce.cc/slackware/sources/repo/$TARBALL" DEPENDS="libQtCore libQtGui"