aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-jsonpatch_1.3.bb
diff options
context:
space:
mode:
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-jsonpatch_1.3.bb
parentef73f2d62a52088e956ca4e916bbc50b928db7cf (diff)
downloadmeta-cloud-services-32afa78102a57f55309bfaf4a1dc84478d4cbb1d.tar.gz
meta-cloud-services-32afa78102a57f55309bfaf4a1dc84478d4cbb1d.tar.bz2
meta-cloud-services-32afa78102a57f55309bfaf4a1dc84478d4cbb1d.zip
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-jsonpatch_1.3.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-jsonpatch_1.3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-jsonpatch_1.3.bb b/meta-openstack/recipes-devtools/python/python-jsonpatch_1.3.bb
index 4289926..36e0d7b 100644
--- a/meta-openstack/recipes-devtools/python/python-jsonpatch_1.3.bb
+++ b/meta-openstack/recipes-devtools/python/python-jsonpatch_1.3.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
LICENSE = "BSD+"
LIC_FILES_CHKSUM = "file://jsonpatch.py;beginline=3;endline=30;md5=5cd7d1fbd6b236ed142e4285624f58fe"
-PR = "0"
+PR = "r0"
SRCNAME = "jsonpatch"
SRC_URI = "http://pypi.python.org/packages/source/j/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"