summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio_1.48.0.bb
diff options
context:
space:
mode:
authorXu Huan <xuhuan.fnst@fujitsu.com>2022-08-26 10:57:06 +0800
committerKhem Raj <raj.khem@gmail.com>2022-08-27 07:37:45 -0700
commitd98d8dc8a690d463cb3d4517a3aee836cd619b55 (patch)
treefce911b929d450a3b754a6c6d8296227e008b184 /meta-python/recipes-devtools/python/python3-grpcio_1.48.0.bb
parent81fedc5a67ed8f7156733d21f218d3c51bbb516b (diff)
downloadmeta-openembedded-d98d8dc8a690d463cb3d4517a3aee836cd619b55.tar.gz
python3-grpcio: upgrade 1.47.0 -> 1.48.0
0001-absl-always-use-asm-sgidefs.h.patch removed since it's included in 1.48.0 abseil-ppc-fixes.patch refreshed for new version License-Update: Add the contents of Mozilla Public License to license file. Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio_1.48.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio_1.48.0.bb47
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.48.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.48.0.bb
new file mode 100644
index 0000000000..a16b88093a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.48.0.bb
@@ -0,0 +1,47 @@
1DESCRIPTION = "Google gRPC"
2HOMEPAGE = "http://www.grpc.io/"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0 & BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
6
7DEPENDS += "${PYTHON_PN}-protobuf"
8
9SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch"
10SRC_URI:append:class-target = " file://ppc-boringssl-support.patch \
11 file://boring_ssl.patch \
12 file://mips_bigendian.patch \
13 file://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \
14"
15SRC_URI[sha256sum] = "eaf4bb73819863440727195411ab3b5c304f6663625e66f348e91ebe0a039306"
16
17RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \
18 ${PYTHON_PN}-setuptools \
19 ${PYTHON_PN}-six \
20"
21
22inherit setuptools3
23inherit pypi
24
25CFLAGS += "-D_LARGEFILE64_SOURCE"
26
27export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1"
28
29BORING_SSL_PLATFORM:arm = "linux-arm"
30BORING_SSL_PLATFORM:x86-64 = "linux-x86_64"
31BORING_SSL_PLATFORM ?= "unsupported"
32export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}"
33
34BORING_SSL:x86-64 = "1"
35BORING_SSL:arm = "1"
36BORING_SSL ?= "0"
37export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}"
38
39GRPC_CFLAGS ?= ""
40GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions"
41export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}"
42
43CLEANBROKEN = "1"
44
45BBCLASSEXTEND = "native nativesdk"
46
47CCACHE_DISABLE = "1"