[oe] [meta-python][PATCH 3/6] python{, 3}-grpcio-tools: update 1.8.4 -> 1.14.1

Jens Rehsack sno at netbsd.org
Mon Aug 27 11:07:32 UTC 2018


Align recipe for python protobuf code generator for gRPC with
grpc itself and python-grpcio.

Signed-off-by: Jens Rehsack <sno at netbsd.org>
---
 .../python/python-grpcio-tools.inc              | 16 ++++++++++++++++
 .../python/python-grpcio-tools_1.14.1.bb        |  2 ++
 .../python/python-grpcio-tools_1.8.4.bb         | 17 -----------------
 .../python/python3-grpcio-tools_1.14.1.bb       |  2 ++
 4 files changed, 20 insertions(+), 17 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-grpcio-tools.inc
 create mode 100644 meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb
 delete mode 100644 meta-python/recipes-devtools/python/python-grpcio-tools_1.8.4.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-grpcio-tools_1.14.1.bb

diff --git a/meta-python/recipes-devtools/python/python-grpcio-tools.inc b/meta-python/recipes-devtools/python/python-grpcio-tools.inc
new file mode 100644
index 000000000..91cc62f40
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-grpcio-tools.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Google gRPC tools"
+HOMEPAGE = "http://www.grpc.io/"
+SECTION = "devel/python"
+
+DEPENDS_append = "${PYTHON_PN}-grpcio"
+RDEPENDS_${PN} = "${PYTHON_PN}-grpcio"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+inherit pypi
+
+SRC_URI[md5sum] = "b2fabfb54c7824c1e49a02de2aa6628e"
+SRC_URI[sha256sum] = "4ce5aa660d7884f23aac1eafa93b97a4c3e2b512edff871e91fdb6ee86ebd5ea"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb b/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb
new file mode 100644
index 000000000..5b19bebf1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-grpcio-tools.inc
diff --git a/meta-python/recipes-devtools/python/python-grpcio-tools_1.8.4.bb b/meta-python/recipes-devtools/python/python-grpcio-tools_1.8.4.bb
deleted file mode 100644
index 45e0cc1b1..000000000
--- a/meta-python/recipes-devtools/python/python-grpcio-tools_1.8.4.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "Google gRPC tools"
-HOMEPAGE = "http://www.grpc.io/"
-SECTION = "devel/python"
-
-DEPENDS = "python-grpcio"
-RDEPENDS_${PN} = "python-grpcio"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
-
-inherit pypi setuptools
-
-SRC_URI[md5sum] = "e04e65afe60410cf178ff2698f052a7c"
-SRC_URI[sha256sum] = "edc84c09039d3a01012ccd97450abd06ee6b980710f6d9f191b50deb6774a75c"
-
-# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
-BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.14.1.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.14.1.bb
new file mode 100644
index 000000000..2da1a4df0
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.14.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-grpcio-tools.inc
-- 
2.17.1




More information about the Openembedded-devel mailing list