summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-12-15 08:52:35 +0100
committerKhem Raj <raj.khem@gmail.com>2023-12-18 22:17:21 -0800
commitd595b18e4691967fb5b699e9272f916d769a28d7 (patch)
treeb3f3d2fafb6f8cfb6e8166129dc4161c7c6e95a5 /meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb
parenta293a7128af89a7cace861333b13387bccbf5de2 (diff)
downloadmeta-openembedded-d595b18e4691967fb5b699e9272f916d769a28d7.tar.gz
python3-grpcio: update 1.56.2 -> 1.59.3
This is needed for python 3.12 compatibility. Drop 0001-direct_mmap-Use-off_t-on-linux.patch as issue resolved upstream. Other dropped patches are all due to the code being significantly refactored upstream; if the issues persist, please write updated patches. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb
new file mode 100644
index 0000000000..7b1631527a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.59.3.bb
@@ -0,0 +1,48 @@
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-Include-missing-cstdint-header.patch \
10 file://abseil-ppc-fixes.patch \
11 file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \
12 "
13SRC_URI[sha256sum] = "7800f99568a74a06ebdccd419dd1b6e639b477dcaf6da77ea702f8fb14ce5f80"
14
15RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \
16 ${PYTHON_PN}-setuptools \
17 ${PYTHON_PN}-six \
18"
19
20inherit setuptools3
21inherit pypi
22
23CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
24
25export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1"
26
27BORING_SSL_PLATFORM:arm = "linux-arm"
28BORING_SSL_PLATFORM:x86-64 = "linux-x86_64"
29BORING_SSL_PLATFORM:aarch64 = "linux-aarch64"
30BORING_SSL_PLATFORM ?= "unsupported"
31export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}"
32export GRPC_BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM = "${BORING_SSL_PLATFORM}"
33
34BORING_SSL:arm = "1"
35BORING_SSL:x86-64 = "1"
36BORING_SSL:aarch64 = "1"
37BORING_SSL ?= "0"
38export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}"
39
40GRPC_CFLAGS ?= ""
41GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions"
42export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}"
43
44CLEANBROKEN = "1"
45
46BBCLASSEXTEND = "native nativesdk"
47
48CCACHE_DISABLE = "1"