path: root/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
diff options
authorMark Asselstine <mark.asselstine@windriver.com>2014-09-25 15:16:33 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-09-29 00:48:39 -0400
commit32afa78102a57f55309bfaf4a1dc84478d4cbb1d (patch)
tree84ca31ef280aa51f46f5c6b1d6273d9942c86393 /meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
parentef73f2d62a52088e956ca4e916bbc50b928db7cf (diff)
housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappendshavana
Although the use of PRINC is deprecated in later versions of Yocto it may still be used and if you are using this layer with older Yocto it is recommended for use in bbappends. It is therefore expected to work. PRINC expects a non-numeric prefix followed by a numeric value, as can be seen in base.bbclass pr_prefix = re.search("\D+",pr) prval = re.search("\d+",pr) if pr_prefix is None or prval is None: bb.error("Unable to analyse format of PR variable: %s" % pr) Failing to stick to this convention yields a parsing error when you attempt to use PRINC: ERROR: Unable to analyse format of PR variable Adding the non-numeric prefix allows PRINC use in bbappends to function correctly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-glanceclient_git.bb')
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb b/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
index 80b166e..29f6bb5 100644
--- a/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-glanceclient_git.bb
@@ -11,7 +11,7 @@ DEPENDS += " \
SRCREV = "3c16d23293e5ee977c0a62e012e83c1247844255"
PV = "0.12.0+git${SRCPV}"
-PR = "0"
+PR = "r0"
SRC_URI = "\
git://github.com/openstack/${BPN}.git;protocol=https \