[oe-commits] [meta-openembedded] 01/11: python3-protobuf: add python3 version

git at git.openembedded.org git at git.openembedded.org
Mon Oct 9 06:28:18 UTC 2017


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

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

commit 29526791683d9379496efcce4c9f0778d195496a
Author: Pascal Bach <pascal.bach at siemens.com>
AuthorDate: Wed Oct 4 14:02:34 2017 +0200

    python3-protobuf: add python3 version
    
    Signed-off-by: Pascal Bach <pascal.bach at nextrem.ch>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../{python-protobuf_3.4.0.bb => python-protobuf.inc}  |  2 +-
 .../recipes-devtools/python/python-protobuf_3.4.0.bb   | 18 ++----------------
 .../recipes-devtools/python/python3-protobuf_3.4.0.bb  |  2 ++
 3 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb b/meta-python/recipes-devtools/python/python-protobuf.inc
similarity index 95%
copy from meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
copy to meta-python/recipes-devtools/python/python-protobuf.inc
index cde62b7..2f59ef9 100644
--- a/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
+++ b/meta-python/recipes-devtools/python/python-protobuf.inc
@@ -7,7 +7,7 @@ RDEPENDS_${PN} = "python-six"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
 
-inherit pypi setuptools
+inherit pypi
 
 SRC_URI[md5sum] = "bfc0c61c156a995e909521697e755780"
 SRC_URI[sha256sum] = "ef02609ef445987976a3a26bff77119c518e0915c96661c3a3b17856d0ef6374"
diff --git a/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb b/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
index cde62b7..f04fc48 100644
--- a/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
+++ b/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
@@ -1,16 +1,2 @@
-DESCRIPTION = "Protocol Buffers"
-HOMEPAGE = "https://developers.google.com/protocol-buffers/"
-SECTION = "devel/python"
-
-RDEPENDS_${PN} = "python-six"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
-
-inherit pypi setuptools
-
-SRC_URI[md5sum] = "bfc0c61c156a995e909521697e755780"
-SRC_URI[sha256sum] = "ef02609ef445987976a3a26bff77119c518e0915c96661c3a3b17856d0ef6374"
-
-# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
-BBCLASSEXTEND = "native"
+inherit setuptools
+require python-protobuf.inc
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb
new file mode 100644
index 0000000..781d1dc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-protobuf.inc

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


More information about the Openembedded-commits mailing list