From 32afa78102a57f55309bfaf4a1dc84478d4cbb1d Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Thu, 25 Sep 2014 15:16:33 -0400 Subject: housekeeping: Add a non-numeric PR prefix to allow PRINC in bbappends 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 --- meta-openstack/recipes-devtools/python/python-jsonpointer_1.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-openstack/recipes-devtools/python/python-jsonpointer_1.1.bb') diff --git a/meta-openstack/recipes-devtools/python/python-jsonpointer_1.1.bb b/meta-openstack/recipes-devtools/python/python-jsonpointer_1.1.bb index 712fce0..3bdb159 100644 --- a/meta-openstack/recipes-devtools/python/python-jsonpointer_1.1.bb +++ b/meta-openstack/recipes-devtools/python/python-jsonpointer_1.1.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://jsonpointer.py;beginline=3;endline=31;md5=5e663c88967b53590856107a043d605c" -PR = "0" +PR = "r0" SRCNAME = "jsonpointer" SRC_URI = "http://pypi.python.org/packages/source/j/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" -- cgit v1.2.3-54-g00ecf