summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2025-02-06 20:18:58 +0100
committerKhem Raj <raj.khem@gmail.com>2025-02-06 11:25:01 -0800
commit9e141eae00ff49e54207c1456a6a92b064115442 (patch)
tree4afc7a452556a27b62092ba1c6319f9cdb6836d6 /meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
parent3f834832aea0745205c478daa882317feb73f0f9 (diff)
downloadmeta-openembedded-9e141eae00ff49e54207c1456a6a92b064115442.tar.gz
python3-grpcio: use system zlib
This also allows to remove a custom patch to maintain and corrects license, SPDX and CVE handling. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
index 32d4fbc22a..d621f840f1 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
@@ -4,12 +4,11 @@ SECTION = "devel/python"
4LICENSE = "Apache-2.0 & BSD-3-Clause" 4LICENSE = "Apache-2.0 & BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
6 6
7DEPENDS += "openssl python3-protobuf" 7DEPENDS += "openssl python3-protobuf zlib"
8 8
9SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ 9SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
10 file://0001-Include-missing-cstdint-header.patch \ 10 file://0001-Include-missing-cstdint-header.patch \
11 file://abseil-ppc-fixes.patch \ 11 file://abseil-ppc-fixes.patch \
12 file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \
13 " 12 "
14SRC_URI[sha256sum] = "936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5" 13SRC_URI[sha256sum] = "936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5"
15 14
@@ -21,6 +20,7 @@ inherit pypi
21CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" 20CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
22 21
23export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1" 22export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1"
23export GRPC_PYTHON_BUILD_SYSTEM_ZLIB = "1"
24 24
25GRPC_CFLAGS ?= "" 25GRPC_CFLAGS ?= ""
26GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" 26GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions"