diff mbox series

python3-pbr: Move src uri checksums out of .inc file

Message ID 20190113160328.27660-1-raj.khem@gmail.com
State Accepted
Commit b020a7139a6fd9efd052a3dc3c02a41f621ae952
Headers show
Series python3-pbr: Move src uri checksums out of .inc file | expand

Commit Message

Khem Raj Jan. 13, 2019, 4:03 p.m. UTC
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@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(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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"
+