diff mbox series

[meta-python,5/9] python3-grpcio: use system c-ares

Message ID 20250206191903.2324783-5-peter.marko@siemens.com
State Accepted
Headers show
Series [meta-python,1/9] python3-grpcio: drop obsolete variable | expand

Commit Message

Peter Marko Feb. 6, 2025, 7:18 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

This also corrects license, SPDX and CVE handling.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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 d621f840f1..ab615d38e5 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,7 +4,7 @@  SECTION = "devel/python"
 LICENSE = "Apache-2.0 & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
 
-DEPENDS += "openssl python3-protobuf zlib"
+DEPENDS += "c-ares openssl python3-protobuf zlib"
 
 SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
            file://0001-Include-missing-cstdint-header.patch \
@@ -19,6 +19,7 @@  inherit pypi
 
 CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
 
+export GRPC_PYTHON_BUILD_SYSTEM_CARES = "1"
 export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1"
 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB = "1"