wok-current diff hg-git/receipt @ rev 24502
updated drupal (8.8.1 -> 9.3.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 10:12:06 2022 +0100 (2022-02-20) |
parents | 31b8e9d2cab1 |
children | 9290e8ef0479 |
line diff
1.1 --- a/hg-git/receipt Wed Feb 26 15:46:44 2020 +0100 1.2 +++ b/hg-git/receipt Sun Feb 20 10:12:06 2022 +0100 1.3 @@ -14,6 +14,13 @@ 1.4 DEPENDS="dulwich mercurial python" 1.5 BUILD_DEPENDS="python-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ 1.11 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {