wok diff 0install/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 11b5e93cb5f2
children 73f36875e5a7
line diff
     1.1 --- a/0install/receipt	Tue Jul 05 15:34:01 2016 +0300
     1.2 +++ b/0install/receipt	Tue May 10 07:46:58 2022 +0000
     1.3 @@ -14,6 +14,12 @@
     1.4  DEPENDS="pygtk xdg-utils"
     1.5  BUILD_DEPENDS="python pygobject"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://github.com/0install/0install/releases 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {