# HG changeset patch # User Pascal Bellard # Date 1644256865 0 # Node ID 104a2a2e5484aa46e1a9675dea926d37ef797e0c # Parent 267887cc84bfa2761cccad8ed356330802f13e5c Add some current_version diff -r 267887cc84bf -r 104a2a2e5484 airoscript-ng/receipt --- a/airoscript-ng/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/airoscript-ng/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="bash" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://airoscript.aircrack-ng.org/?page=download' 2>/dev/null | \ + sed '/tar/!d;s|.*ng-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 bittorrent/receipt --- a/bittorrent/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/bittorrent/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-constantly twisted" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/BitTorrent/!d;s|.*BitTorrent-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 buildbot-slave/receipt --- a/buildbot-slave/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/buildbot-slave/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python twisted" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 c-ares/receipt --- a/c-ares/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/c-ares/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}download/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 dulwich/receipt --- a/dulwich/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/dulwich/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 fatback/receipt --- a/fatback/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/fatback/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -23,6 +23,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|yywrap()|1|' setl.c autoreconf -i ./configure --prefix=/usr \ $CONFIGURE_ARGS && diff -r 267887cc84bf -r 104a2a2e5484 flake8/receipt --- a/flake8/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/flake8/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 foobillardplus/receipt --- a/foobillardplus/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/foobillardplus/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -29,7 +29,7 @@ autoconf -f autoheader -f automake --gnu -a -c -f - ./configure && + ac_cv_prog_cc_c99=no ./configure && make } diff -r 267887cc84bf -r 104a2a2e5484 hg-git/receipt --- a/hg-git/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/hg-git/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="dulwich mercurial python" BUILD_DEPENDS="python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 openerp-client-etl/receipt --- a/openerp-client-etl/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/openerp-client-etl/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="python wget" BUILD_DEPENDS="python-dev python" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 picamera/receipt --- a/picamera/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/picamera/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 pssh/receipt --- a/pssh/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/pssh/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-cssselect/receipt --- a/python-cssselect/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-cssselect/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-cups/receipt --- a/python-cups/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-cups/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -12,6 +12,13 @@ TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + DEPENDS="libcups python" BUILD_DEPENDS="cups-dev python-dev" diff -r 267887cc84bf -r 104a2a2e5484 python-decoratortools/receipt --- a/python-decoratortools/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-decoratortools/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-distribute/receipt --- a/python-distribute/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-distribute/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-docopt/receipt --- a/python-docopt/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-docopt/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="wget python-setuptools python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-elaphe/receipt --- a/python-elaphe/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-elaphe/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-erppeek/receipt --- a/python-erppeek/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-erppeek/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="wget python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-extremes/receipt --- a/python-extremes/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-extremes/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-foolscap/receipt --- a/python-foolscap/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-foolscap/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-formencode/receipt --- a/python-formencode/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-formencode/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-geojson/receipt --- a/python-geojson/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-geojson/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-jcconv/receipt --- a/python-jcconv/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-jcconv/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-kid/receipt --- a/python-kid/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-kid/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-markupsafe/receipt --- a/python-markupsafe/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-markupsafe/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -1,3 +1,5 @@ +# SliTaz package receipt. + PACKAGE="python-markupsafe" VERSION="1.1.1" CATEGORY="development" @@ -13,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-mock/receipt --- a/python-mock/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-mock/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-mpd/receipt --- a/python-mpd/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-mpd/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-ofxparse/receipt --- a/python-ofxparse/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-ofxparse/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="beautifulsoup python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-ooop/receipt --- a/python-ooop/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-ooop/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-passlib/receipt --- a/python-passlib/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-passlib/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-peak-rules/receipt --- a/python-peak-rules/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-peak-rules/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python" BUILD_DEPENDS="python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pillow/receipt --- a/python-pillow/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pillow/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="jpeg-dev python-dev python-setuptools tiff-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-prettytable/receipt --- a/python-prettytable/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-prettytable/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-distribute python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-py/receipt --- a/python-py/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-py/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/\/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pyasn1/receipt --- a/python-pyasn1/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pyasn1/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pycryptopp/receipt --- a/python-pycryptopp/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pycryptopp/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.[0-9]*.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pygraphviz/receipt --- a/python-pygraphviz/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pygraphviz/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="graphviz python" BUILD_DEPENDS="graphviz-dev python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pyliblzma/receipt --- a/python-pyliblzma/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pyliblzma/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="liblzma python" BUILD_DEPENDS="liblzma-dev python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pypdf/receipt --- a/python-pypdf/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pypdf/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pyserial/receipt --- a/python-pyserial/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pyserial/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pyte/receipt --- a/python-pyte/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pyte/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python python-wcwidth" BUILD_DEPENDS="wget python-setuptools python-dev python-wcwidth" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-pytest/receipt --- a/python-pytest/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-pytest/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-qrcode/receipt --- a/python-qrcode/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-qrcode/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python python-pil python-six" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-rpi-gpio/receipt --- a/python-rpi-gpio/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-rpi-gpio/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python python-smbus" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-simplejson/receipt --- a/python-simplejson/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-simplejson/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-soappy/receipt --- a/python-soappy/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-soappy/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="wget python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/\/$SOURCE-/!d;/zip/!d;s|.*$SOURCE-||;s|.zip.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-tempita/receipt --- a/python-tempita/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-tempita/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-unidecode/receipt --- a/python-unidecode/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-unidecode/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-unittest2/receipt --- a/python-unittest2/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-unittest2/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-weberror/receipt --- a/python-weberror/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-weberror/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-webhelpers/receipt --- a/python-webhelpers/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-webhelpers/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-webob/receipt --- a/python-webob/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-webob/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-webtest/receipt --- a/python-webtest/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-webtest/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-whoosh/receipt --- a/python-whoosh/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-whoosh/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-xmlutils/receipt --- a/python-xmlutils/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-xmlutils/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 python-zfec/receipt --- a/python-zfec/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/python-zfec/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 sqlobject/receipt --- a/sqlobject/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/sqlobject/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 vnc2flv/receipt --- a/vnc2flv/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/vnc2flv/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 267887cc84bf -r 104a2a2e5484 xhtml2pdf/receipt --- a/xhtml2pdf/receipt Mon Feb 07 17:45:34 2022 +0100 +++ b/xhtml2pdf/receipt Mon Feb 07 18:01:05 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python python-reportlab python-html5lib python-pypdf" BUILD_DEPENDS="$DEPENDS python-setuptools python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() {