aboutsummaryrefslogtreecommitdiff
path: root/python/python3-grpcio
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
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')
-rw-r--r--python/python3-grpcio/python3-grpcio.SlackBuild11
-rw-r--r--python/python3-grpcio/python3-grpcio.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/python/python3-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild
index f52cf572a866..7431250c8576 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
diff --git a/python/python3-grpcio/python3-grpcio.info b/python/python3-grpcio/python3-grpcio.info
index 6c081013d036..d36cf1a01df9 100644
--- a/python/python3-grpcio/python3-grpcio.info
+++ b/python/python3-grpcio/python3-grpcio.info
@@ -1,8 +1,8 @@
PRGNAM="python3-grpcio"
-VERSION="1.48.4"
+VERSION="1.62.0"
HOMEPAGE="https://grpc.io/"
-DOWNLOAD="https://github.com/grpc/grpc/archive/v1.48.4/grpc-1.48.4.tar.gz"
-MD5SUM="2977771ce888f0b9ac78ba4133e59637"
+DOWNLOAD="https://github.com/grpc/grpc/archive/v1.62.0/grpc-1.62.0.tar.gz"
+MD5SUM="adccf180c95d2b4a0608f8f3f6792045"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="protobuf3 re2"