gcr: upgrade 4.3.1 -> 4.4.0.1
Review
Quoted 10 lines · Gyorgy Sarvari via lists.openembedded.org
(quoted diff) +9
-0+ +# gnome_verdir is coming from gnomebase.bbclass, which seems to work +# with gcr as long as its version has 3 sections (x.y.z). +# This version is 4.4.0.1 - add a custom version parser, otherwise the +# original parser constructs invalid download URL. +# It can be removed with the next update, when/if the version has only +# 3 sections again. +def gnome_verdir(v): + return ".".join(v.split(".")[:2]) or v
This is something that seems to work for gcr, but don't know if it works for all gnome recipes, so I just put it in this recipe, in the hope that they won't form a habit of using such long versions.