wok rev 25532
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 10:46:05 2023 +0000 (21 months ago) |
parents | 595fe6959202 |
children | 2994fe300985 |
files | py3k-asn1crypto/receipt py3k-cffi/receipt py3k-cparser/receipt py3k-cryptography/receipt py3k-llfuse/receipt py3k-secretstorage/receipt py3k-six/receipt |
line diff
1.1 --- a/py3k-asn1crypto/receipt Mon Feb 27 10:05:50 2023 +0000 1.2 +++ b/py3k-asn1crypto/receipt Mon Feb 27 10:46:05 2023 +0000 1.3 @@ -13,6 +13,13 @@ 1.4 DEPENDS="py3k" 1.5 BUILD_DEPENDS="py3k-setuptools_scm" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {
2.1 --- a/py3k-cffi/receipt Mon Feb 27 10:05:50 2023 +0000 2.2 +++ b/py3k-cffi/receipt Mon Feb 27 10:46:05 2023 +0000 2.3 @@ -16,6 +16,13 @@ 2.4 DEPENDS="py3k" 2.5 BUILD_DEPENDS="py3k-dev py3k-setuptools_scm" 2.6 2.7 +# What is the latest version available today? 2.8 +current_version() 2.9 +{ 2.10 + wget -O - $WEB_SITE 2>/dev/null | \ 2.11 + sed '/release_/!d;/project/!d;s|.*cffi/||;s|/.*||;q' 2.12 +} 2.13 + 2.14 # Rules to configure and make the package. 2.15 compile_rules() 2.16 {
3.1 --- a/py3k-cparser/receipt Mon Feb 27 10:05:50 2023 +0000 3.2 +++ b/py3k-cparser/receipt Mon Feb 27 10:46:05 2023 +0000 3.3 @@ -14,6 +14,13 @@ 3.4 DEPENDS="py3k" 3.5 BUILD_DEPENDS="py3k" 3.6 3.7 +# What is the latest version available today? 3.8 +current_version() 3.9 +{ 3.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 3.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 3.12 +} 3.13 + 3.14 # Rules to configure and make the package. 3.15 compile_rules() 3.16 {
4.1 --- a/py3k-cryptography/receipt Mon Feb 27 10:05:50 2023 +0000 4.2 +++ b/py3k-cryptography/receipt Mon Feb 27 10:46:05 2023 +0000 4.3 @@ -15,6 +15,13 @@ 4.4 BUILD_DEPENDS="openssl-dev py3k-cffi py3k-cparser py3k-dev 4.5 py3k-setuptools_scm" 4.6 4.7 +# What is the latest version available today? 4.8 +current_version() 4.9 +{ 4.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 4.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 4.12 +} 4.13 + 4.14 # Rules to configure and make the package. 4.15 compile_rules() 4.16 {
5.1 --- a/py3k-llfuse/receipt Mon Feb 27 10:05:50 2023 +0000 5.2 +++ b/py3k-llfuse/receipt Mon Feb 27 10:46:05 2023 +0000 5.3 @@ -15,6 +15,13 @@ 5.4 DEPENDS="fuse2 py3k" 5.5 BUILD_DEPENDS="fuse2-dev py3k-dev py3k-setuptools_scm" 5.6 5.7 +# What is the latest version available today? 5.8 +current_version() 5.9 +{ 5.10 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 5.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 5.12 +} 5.13 + 5.14 # Rules to configure and make the package. 5.15 compile_rules() 5.16 {
6.1 --- a/py3k-secretstorage/receipt Mon Feb 27 10:05:50 2023 +0000 6.2 +++ b/py3k-secretstorage/receipt Mon Feb 27 10:46:05 2023 +0000 6.3 @@ -15,6 +15,13 @@ 6.4 DEPENDS="py3k py3k-cryptography" 6.5 BUILD_DEPENDS="py3k-setuptools_scm" 6.6 6.7 +# What is the latest version available today? 6.8 +current_version() 6.9 +{ 6.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 6.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 6.12 +} 6.13 + 6.14 # Rules to configure and make the package. 6.15 compile_rules() 6.16 {
7.1 --- a/py3k-six/receipt Mon Feb 27 10:05:50 2023 +0000 7.2 +++ b/py3k-six/receipt Mon Feb 27 10:46:05 2023 +0000 7.3 @@ -18,6 +18,13 @@ 7.4 7.5 HOST_ARCH="i486 arm" 7.6 7.7 +# What is the latest version available today? 7.8 +current_version() 7.9 +{ 7.10 + wget -O - $WEB_SITE 2>/dev/null | \ 7.11 + sed '/release_/!d;/project/!d;s|.*six/||;s|/.*||;q' 7.12 +} 7.13 + 7.14 # Rules to configure and make the package. 7.15 compile_rules() 7.16 {