# HG changeset patch # User Pascal Bellard # Date 1677494765 0 # Node ID 54d60b77baf47acfa4d89afd871e6a1bbcc1f8dd # Parent 595fe6959202137bcd067693bd1a1600f675daef Add some current_version() diff -r 595fe6959202 -r 54d60b77baf4 py3k-asn1crypto/receipt --- a/py3k-asn1crypto/receipt Mon Feb 27 10:05:50 2023 +0000 +++ b/py3k-asn1crypto/receipt Mon Feb 27 10:46:05 2023 +0000 @@ -13,6 +13,13 @@ DEPENDS="py3k" BUILD_DEPENDS="py3k-setuptools_scm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 595fe6959202 -r 54d60b77baf4 py3k-cffi/receipt --- a/py3k-cffi/receipt Mon Feb 27 10:05:50 2023 +0000 +++ b/py3k-cffi/receipt Mon Feb 27 10:46:05 2023 +0000 @@ -16,6 +16,13 @@ DEPENDS="py3k" BUILD_DEPENDS="py3k-dev py3k-setuptools_scm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release_/!d;/project/!d;s|.*cffi/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 595fe6959202 -r 54d60b77baf4 py3k-cparser/receipt --- a/py3k-cparser/receipt Mon Feb 27 10:05:50 2023 +0000 +++ b/py3k-cparser/receipt Mon Feb 27 10:46:05 2023 +0000 @@ -14,6 +14,13 @@ DEPENDS="py3k" BUILD_DEPENDS="py3k" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 595fe6959202 -r 54d60b77baf4 py3k-cryptography/receipt --- a/py3k-cryptography/receipt Mon Feb 27 10:05:50 2023 +0000 +++ b/py3k-cryptography/receipt Mon Feb 27 10:46:05 2023 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="openssl-dev py3k-cffi py3k-cparser py3k-dev py3k-setuptools_scm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 595fe6959202 -r 54d60b77baf4 py3k-llfuse/receipt --- a/py3k-llfuse/receipt Mon Feb 27 10:05:50 2023 +0000 +++ b/py3k-llfuse/receipt Mon Feb 27 10:46:05 2023 +0000 @@ -15,6 +15,13 @@ DEPENDS="fuse2 py3k" BUILD_DEPENDS="fuse2-dev py3k-dev py3k-setuptools_scm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 595fe6959202 -r 54d60b77baf4 py3k-secretstorage/receipt --- a/py3k-secretstorage/receipt Mon Feb 27 10:05:50 2023 +0000 +++ b/py3k-secretstorage/receipt Mon Feb 27 10:46:05 2023 +0000 @@ -15,6 +15,13 @@ DEPENDS="py3k py3k-cryptography" BUILD_DEPENDS="py3k-setuptools_scm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 595fe6959202 -r 54d60b77baf4 py3k-six/receipt --- a/py3k-six/receipt Mon Feb 27 10:05:50 2023 +0000 +++ b/py3k-six/receipt Mon Feb 27 10:46:05 2023 +0000 @@ -18,6 +18,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release_/!d;/project/!d;s|.*six/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() {