From e9cba5a492ede0c7898e1e5079500bbd4b4380b3 Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Wed, 6 Mar 2024 13:12:42 +0700 Subject: python/python3-grpcio: Updated for version 1.62.0. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-grpcio/python3-grpcio.SlackBuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'python/python3-grpcio/python3-grpcio.SlackBuild') diff --git a/python/python3-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild index f52cf572a8..7431250c85 100644 --- a/python/python3-grpcio/python3-grpcio.SlackBuild +++ b/python/python3-grpcio/python3-grpcio.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-grpcio -VERSION=${VERSION:-1.48.4} +VERSION=${VERSION:-1.62.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -94,10 +94,11 @@ GRPC_PYTHON_CFLAGS="-fvisibility=hidden -fno-wrapv -fno-exceptions $(pkg-config # Use system protobuf (taken from the Arch Linux PKGBUILD) sed -r -i \ - -e 's/^(CC_FILES=\[).*(\])/\1\2/' \ - -e "s@^((CC|PROTO)_INCLUDE=')[^']+'@\1/usr/include'@" \ - -e '/^PROTOBUF_SUBMODULE_VERSION=/d' \ - tools/distrib/python/grpcio_tools/protoc_lib_deps.py + -e '/^CC_FILES=\[/,/\]/{/^CC_FILES=\[/n;/\]/!d;}' \ + -e '/^CC_INCLUDES=\[/,/\]/{/^CC_INCLUDES=\[/n;/\]/!d;}' \ + -e "s@^(PROTO_INCLUDE=')[^']+'@\1/usr/include'@" \ + -e '/^PROTOBUF_SUBMODULE_VERSION=/d' \ + tools/distrib/python/grpcio_tools/protoc_lib_deps.py ln -s ../../../.. tools/distrib/python/grpcio_tools/grpc_root # Build python3-grcpio_tools -- cgit v1.2.3