[oe] [meta-python][PATCH 2/2] python-pbr.inc: remove it

Robert Yang liezhi.yang at windriver.com
Fri Aug 3 09:34:03 UTC 2018


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

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 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

diff --git a/meta-python/recipes-devtools/python/python-pbr.inc b/meta-python/recipes-devtools/python/python-pbr.inc
deleted file mode 100644
index 225d78b..0000000
--- a/meta-python/recipes-devtools/python/python-pbr.inc
+++ /dev/null
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb b/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb
index 8f7f924..a4b56cd 100644
--- a/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb
+++ b/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb
@@ -1,2 +1,3 @@
 inherit setuptools
-require python-pbr.inc
+# The inc file is in oe-core
+require recipes-devtools/python/python-pbr.inc
-- 
2.7.4




More information about the Openembedded-devel mailing list