diff --git a/srcpkgs/python3-grpcio-tools/patches/cross.patch b/srcpkgs/python3-grpcio-tools/patches/cross.patch new file mode 100644 index 00000000000..a00e5080641 --- /dev/null +++ b/srcpkgs/python3-grpcio-tools/patches/cross.patch @@ -0,0 +1,13 @@ +In Void cross-build environments, $CC and $CXX may actually contain arguments. + +--- a/setup.py 2024-11-26 09:12:22.059041830 -0500 ++++ b/setup.py 2024-11-26 09:12:44.641146370 -0500 +@@ -92,7 +92,7 @@ + ) + cxx = os.environ.get("CXX", "c++") + cpp_test = subprocess.Popen( +- [cxx, "-x", "c++", "-std=c++14", "-"], ++ shlex.split(cxx) + ["-x", "c++", "-std=c++14", "-"], + stdin=PIPE, + stdout=PIPE, + stderr=PIPE, diff --git a/srcpkgs/python3-grpcio-tools/template b/srcpkgs/python3-grpcio-tools/template index c5d4420c2a4..e0ba3cc5213 100644 --- a/srcpkgs/python3-grpcio-tools/template +++ b/srcpkgs/python3-grpcio-tools/template @@ -1,6 +1,6 @@ # Template file for 'python3-grpcio-tools' pkgname=python3-grpcio-tools -version=1.60.1 +version=1.67.1 revision=1 build_style=python3-module hostmakedepends="python3-setuptools python3-Cython" @@ -11,8 +11,8 @@ short_desc="Protobuf code generator for gRPC" maintainer="Orphaned " license="Apache-2.0" homepage="https://grpc.io" -distfiles="${PYPI_SITE}/g/grpcio-tools/grpcio-tools-${version}.tar.gz" -checksum=da08224ab8675c6d464b988bd8ca02cccd2bf0275bceefe8f6219bfd4a4f5e85 +distfiles="${PYPI_SITE}/g/grpcio_tools/grpcio_tools-${version}.tar.gz" +checksum=d9657f5ddc62b52f58904e6054b7d8a8909ed08a1e28b734be3a707087bcf004 export GRPC_PYTHON_BUILD_WITH_CYTHON=1