[oe] [meta-python][PATCH] python-protobuf: update to version 3.5.1

Derek Straka derek at asterius.io
Wed Jan 3 14:23:41 UTC 2018


Add RDEPENDS to work on minimal python and don't pull in python-six in python3

Signed-off-by: Derek Straka <derek at asterius.io>
---
 meta-python/recipes-devtools/python/python-protobuf.inc | 17 +++++++++++++----
 ...ython-protobuf_3.4.0.bb => python-protobuf_3.5.1.bb} |  0
 ...hon3-protobuf_3.4.0.bb => python3-protobuf_3.5.1.bb} |  0
 3 files changed, 13 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-protobuf_3.4.0.bb => python-protobuf_3.5.1.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-protobuf_3.4.0.bb => python3-protobuf_3.5.1.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc b/meta-python/recipes-devtools/python/python-protobuf.inc
index 2f59ef9..07346d3 100644
--- a/meta-python/recipes-devtools/python/python-protobuf.inc
+++ b/meta-python/recipes-devtools/python/python-protobuf.inc
@@ -2,15 +2,24 @@ 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
 
-SRC_URI[md5sum] = "bfc0c61c156a995e909521697e755780"
-SRC_URI[sha256sum] = "ef02609ef445987976a3a26bff77119c518e0915c96661c3a3b17856d0ef6374"
+SRC_URI[md5sum] = "27b52592aab674f96a1762d66d48a57c"
+SRC_URI[sha256sum] = "95b78959572de7d7fafa3acb718ed71f482932ddddddbd29ba8319c10639d863"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pkgutil \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-unittest \
+"
 
 # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
 BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb b/meta-python/recipes-devtools/python/python-protobuf_3.5.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb
rename to meta-python/recipes-devtools/python/python-protobuf_3.5.1.bb
diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.5.1.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb
rename to meta-python/recipes-devtools/python/python3-protobuf_3.5.1.bb
-- 
2.7.4




More information about the Openembedded-devel mailing list