mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-grpcio-tools: update to 1.67.1.
This commit is contained in:
parent
a9064a8d20
commit
692f95532a
2 changed files with 16 additions and 3 deletions
13
srcpkgs/python3-grpcio-tools/patches/cross.patch
Normal file
13
srcpkgs/python3-grpcio-tools/patches/cross.patch
Normal file
|
@ -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,
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python3-grpcio-tools'
|
# Template file for 'python3-grpcio-tools'
|
||||||
pkgname=python3-grpcio-tools
|
pkgname=python3-grpcio-tools
|
||||||
version=1.60.1
|
version=1.67.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-Cython"
|
hostmakedepends="python3-setuptools python3-Cython"
|
||||||
|
@ -11,8 +11,8 @@ short_desc="Protobuf code generator for gRPC"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://grpc.io"
|
homepage="https://grpc.io"
|
||||||
distfiles="${PYPI_SITE}/g/grpcio-tools/grpcio-tools-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/g/grpcio_tools/grpcio_tools-${version}.tar.gz"
|
||||||
checksum=da08224ab8675c6d464b988bd8ca02cccd2bf0275bceefe8f6219bfd4a4f5e85
|
checksum=d9657f5ddc62b52f58904e6054b7d8a8909ed08a1e28b734be3a707087bcf004
|
||||||
|
|
||||||
export GRPC_PYTHON_BUILD_WITH_CYTHON=1
|
export GRPC_PYTHON_BUILD_WITH_CYTHON=1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue