[oe-commits] [meta-openembedded] 31/46: python-pbr: add python3-pbr variant

git at git.openembedded.org git at git.openembedded.org
Thu Jul 12 14:21:08 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 63299b239116a70ce4b09dc925c5eaebb63a3052
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Jul 10 16:20:12 2018 +0100

    python-pbr: add python3-pbr variant
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../python/{python-pbr_3.1.1.bb => python-pbr.inc}     |  6 ++----
 .../recipes-devtools/python/python-pbr_3.1.1.bb        | 18 ++----------------
 .../recipes-devtools/python/python3-pbr_3.1.1.bb       |  2 ++
 3 files changed, 6 insertions(+), 20 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python-pbr.inc
similarity index 84%
copy from meta-python/recipes-devtools/python/python-pbr_3.1.1.bb
copy to meta-python/recipes-devtools/python/python-pbr.inc
index bdff867..d8847f6 100644
--- a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb
+++ b/meta-python/recipes-devtools/python/python-pbr.inc
@@ -7,10 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00"
 SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1"
 
-inherit pypi setuptools
+inherit pypi
 
-RDEPENDS_${PN}_class-target += " \
-        python-pip \
-        "
+RDEPENDS_${PN} += "${PYTHON_PN}-pip"
 
 BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb
index bdff867..8f7f924 100644
--- a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb
+++ b/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb
@@ -1,16 +1,2 @@
-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] = "4e82c2e07af544c56a5b71c801525b00"
-SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN}_class-target += " \
-        python-pip \
-        "
-
-BBCLASSEXTEND = "native"
+inherit setuptools
+require python-pbr.inc
diff --git a/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb
new file mode 100644
index 0000000..97e7361
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pbr.inc

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list