From af308c17f6f35e3f331e52ba5e23b1dba004473f Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 3 Jan 2018 09:23:41 -0500 Subject: python-protobuf: update to version 3.5.1 Add RDEPENDS to work on minimal python and don't pull in python-six in python3 Signed-off-by: Derek Straka Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python-protobuf.inc | 17 +++++++++++++---- .../recipes-devtools/python/python-protobuf_3.4.0.bb | 2 -- .../recipes-devtools/python/python-protobuf_3.5.1.bb | 2 ++ .../recipes-devtools/python/python3-protobuf_3.4.0.bb | 2 -- .../recipes-devtools/python/python3-protobuf_3.5.1.bb | 2 ++ 5 files changed, 17 insertions(+), 8 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb create mode 100644 meta-python/recipes-devtools/python/python-protobuf_3.5.1.bb delete mode 100644 meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-protobuf_3.5.1.bb diff --git a/meta-python/recipes-devtools/python/python-protobuf.inc b/meta-python/recipes-devtools/python/python-protobuf.inc index 2f59ef98b6..07346d372c 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.4.0.bb deleted file mode 100644 index f04fc489f0..0000000000 --- a/meta-python/recipes-devtools/python/python-protobuf_3.4.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-protobuf.inc diff --git a/meta-python/recipes-devtools/python/python-protobuf_3.5.1.bb b/meta-python/recipes-devtools/python/python-protobuf_3.5.1.bb new file mode 100644 index 0000000000..f04fc489f0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-protobuf_3.5.1.bb @@ -0,0 +1,2 @@ +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 deleted file mode 100644 index 781d1dc4da..0000000000 --- a/meta-python/recipes-devtools/python/python3-protobuf_3.4.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-protobuf.inc diff --git a/meta-python/recipes-devtools/python/python3-protobuf_3.5.1.bb b/meta-python/recipes-devtools/python/python3-protobuf_3.5.1.bb new file mode 100644 index 0000000000..781d1dc4da --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-protobuf_3.5.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-protobuf.inc -- cgit 1.2.3-korg