aboutsummaryrefslogtreecommitdiff
path: root/python/python3-grpcio/python3-grpcio.SlackBuild
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu@protonmail.com>2024-03-06 13:12:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-06 18:11:15 +0700
commite9cba5a492ede0c7898e1e5079500bbd4b4380b3 (patch)
treecc6c4d1ce9995866a2f432c770d429a427bddb4b /python/python3-grpcio/python3-grpcio.SlackBuild
parentf1d6269befb9ec41e9d3c3b5443841e596e0c618 (diff)
python/python3-grpcio: Updated for version 1.62.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-grpcio/python3-grpcio.SlackBuild')
-rw-r--r--python/python3-grpcio/python3-grpcio.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/python/python3-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild
index f52cf572a866a..7431250c85761 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