[OE-core] [PATCH] python3-pbr: Move src uri checksums out of .inc file

Khem Raj raj.khem at gmail.com
Sun Jan 13 16:03:28 UTC 2019


python2 version of pbr is in meta-python and uses the same inc file but
is not updated synchronously, which ends up breaking it, either we move
py2 version into OE-core as well and then ensure that both recipes are
updated atomically, or we move the checksums into recipe files

Fixes errors like
http://errors.yoctoproject.org/Errors/Details/216253/

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-devtools/python/python-pbr.inc       | 3 ---
 meta/recipes-devtools/python/python3-pbr_5.1.1.bb | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc
index bfe3030b07..0e64501c32 100644
--- a/meta/recipes-devtools/python/python-pbr.inc
+++ b/meta/recipes-devtools/python/python-pbr.inc
@@ -5,9 +5,6 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 
-SRC_URI[md5sum] = "dbc94417a8ff0432d6244501a7f1bd49"
-SRC_URI[sha256sum] = "f59d71442f9ece3dffc17bc36575768e1ee9967756e6b6535f0ee1f0054c3d68"
-
 inherit pypi
 
 RDEPENDS_${PN} += "${PYTHON_PN}-pip"
diff --git a/meta/recipes-devtools/python/python3-pbr_5.1.1.bb b/meta/recipes-devtools/python/python3-pbr_5.1.1.bb
index 97e7361b16..95d3d2bd4f 100644
--- a/meta/recipes-devtools/python/python3-pbr_5.1.1.bb
+++ b/meta/recipes-devtools/python/python3-pbr_5.1.1.bb
@@ -1,2 +1,5 @@
 inherit setuptools3
 require python-pbr.inc
+SRC_URI[md5sum] = "dbc94417a8ff0432d6244501a7f1bd49"
+SRC_URI[sha256sum] = "f59d71442f9ece3dffc17bc36575768e1ee9967756e6b6535f0ee1f0054c3d68"
+
-- 
2.20.1



More information about the Openembedded-core mailing list