wok-6.x diff hg-git/receipt @ rev 24477

updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author Hans-G?nter Theisgen
date Fri Feb 18 10:50:23 2022 +0100 (2022-02-18)
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	Fri Feb 18 10:50:23 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  {