Skip to contentSkip to conversation

python3-pbr: remove it to use the on in oe-core

PATCH New Robert Yang 1 participant 3 messages Aug 3, 2018

lore
Share & tools
lore
#0 lore raw

cover python3-pbr: remove it to use the on in oe-core

Please note the second patch which removes python-pbr.inc since it is duplicated to the one in oe-core. There are also other recipes have the similar issues, for example, python-six, there is a python-six.inc in both oe-core and meta-python, but their contents are the same, while oe-core's is for python3, and meta-python's is for python2, I think that we can remove the one in meta-python as I did for python-pbr. I will send patches to cleanup them if no objections.

// Robert

Robert Yang (2):
python3-pbr: remove it
python-pbr.inc: remove it

 meta-python/recipes-devtools/python/python-pbr.inc       | 14 --------------
 meta-python/recipes-devtools/python/python-pbr_4.2.0.bb  |  3 ++-
 meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb |  2 --
 3 files changed, 2 insertions(+), 17 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pbr.inc
 delete mode 100644 meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/2 python3-pbr: remove it

There is one in oe-core, so remove it.

---
 meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb | 2 --
 1 file changed, 2 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb
meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb deleted +0 -2
deleted file mode 100644
index 97e7361..0000000
@@ -1,2 +0,0 @@
-inherit setuptools3
-require python-pbr.inc
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 python-pbr.inc: remove it

In reply to Robert Yang

There is one in oe-ocore, so remove it, and let python-pbr_4.2.0.bb use the one in oe-core.

---
 meta-python/recipes-devtools/python/python-pbr.inc      | 14 --------------
 meta-python/recipes-devtools/python/python-pbr_4.2.0.bb |  3 ++-
 2 files changed, 2 insertions(+), 15 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pbr.inc
meta-python/recipes-devtools/python/python-pbr.inc deleted +0 -14
deleted file mode 100644
index 225d78b..0000000
@@ -1,14 +0,0 @@
-DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run"
-HOMEPAGE = "https://pypi.python.org/pypi/pbr"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
-
-SRC_URI[md5sum] = "6619780896ca81c7cd19c6e2f439b6c9"
-SRC_URI[sha256sum] = "1b8be50d938c9bb75d0eaf7eda111eec1bf6dc88a62a6412e33bf077457e0f45"
-
-inherit pypi
-
-RDEPENDS_${PN} += "${PYTHON_PN}-pip"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python-pbr_4.2.0.bb +2 -1
index 8f7f924..a4b56cd 100644
@@ -1,2 +1,3 @@
 inherit setuptools
-require python-pbr.inc
+# The inc file is in oe-core
+require recipes-devtools/python/python-pbr.inc
Signature · 1 line
2.7.4