wok diff openerp-client/receipt @ rev 25130

e4rat: modified recipe
author Hans-G?nter Theisgen
date Wed Jun 29 07:04:49 2022 +0100 (2022-06-29)
parents 505d1daeed6c
children
line diff
     1.1 --- a/openerp-client/receipt	Thu May 19 10:39:49 2022 +0000
     1.2 +++ b/openerp-client/receipt	Wed Jun 29 07:04:49 2022 +0100
     1.3 @@ -15,6 +15,17 @@
     1.4  egenix-mx-base"
     1.5  BUILD_DEPENDS="python python-dev pygtk egenix-mx-base"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	local a=$(wget -O - https://nightly.odoo.com/old/ 2>/dev/null | \
    1.11 +	sed '/openerp-/!d;s|.*="||;s|/".*||' | sort -Vr | sed q)
    1.12 +	local b=$(wget -O - https://nightly.odoo.com/old/$a/ 2>/dev/null | \
    1.13 +	sed '/href="[0-9]/!d;s|.*="||;s|/".*||' | sort -Vr | sed q)
    1.14 +	wget -O - https://nightly.odoo.com/old/$a/$b/ 2>/dev/null | \
    1.15 +	sed '/openerp-client/!d;/tar/!d;s|.*-client-||;s|.tar.*||'
    1.16 +}
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {