aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-protobuf.inc
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2018-01-03 09:23:41 -0500
committerArmin Kuster <akuster808@gmail.com>2018-01-16 21:36:53 -0800
commit0999b13ce6b0809e9814a61f16eaa62a2254340b (patch)
tree8a9027fb20765edc7f99c72ee94c3117789ceb07 /recipes-devtools/python/python-protobuf.inc
parent7a342de2e3759ed9688e54a9c433a90ca4cb21f0 (diff)
downloadmeta-python2-0999b13ce6b0809e9814a61f16eaa62a2254340b.tar.gz
python-protobuf: update to version 3.5.1
Add RDEPENDS to work on minimal python and don't pull in python-six in python3 (From meta-openembedded commit: af308c17f6f35e3f331e52ba5e23b1dba004473f) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-protobuf.inc')
-rw-r--r--recipes-devtools/python/python-protobuf.inc17
1 files changed, 13 insertions, 4 deletions
diff --git a/recipes-devtools/python/python-protobuf.inc b/recipes-devtools/python/python-protobuf.inc
index 2f59ef9..07346d3 100644
--- a/recipes-devtools/python/python-protobuf.inc
+++ b/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"