diff options
Diffstat (limited to 'python/python3-grpcio')
| -rw-r--r-- | python/python3-grpcio/python3-grpcio.SlackBuild | 7 | ||||
| -rw-r--r-- | python/python3-grpcio/python3-grpcio.info | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/python/python3-grpcio/python3-grpcio.SlackBuild b/python/python3-grpcio/python3-grpcio.SlackBuild index d5d29eb7ee..8b1fea4044 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.74.1} +VERSION=${VERSION:-1.75.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -75,6 +75,11 @@ export GRPC_PYTHON_BUILD_SYSTEM_RE2=1 export GRPC_PYTHON_BUILD_SYSTEM_ABSL=1 export GRPC_BUILD_WITH_BORING_SSL_ASM=0 +# Cython 3 is required for building python3-grpcio >= 1.75.1 +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages" +export PATH="/opt/cython/bin:$PATH" + # Build python3-grcpio GRPC_PYTHON_CFLAGS="-fvisibility=hidden -fno-wrapv -fno-exceptions $(pkg-config --cflags protobuf) -std=c++17" \ python3 setup.py install --root=$PKG diff --git a/python/python3-grpcio/python3-grpcio.info b/python/python3-grpcio/python3-grpcio.info index b21d48b24b..402c6007f1 100644 --- a/python/python3-grpcio/python3-grpcio.info +++ b/python/python3-grpcio/python3-grpcio.info @@ -1,10 +1,10 @@ PRGNAM="python3-grpcio" -VERSION="1.74.1" +VERSION="1.75.1" HOMEPAGE="https://grpc.io/" -DOWNLOAD="https://github.com/grpc/grpc/archive/v1.74.1/grpc-1.74.1.tar.gz" -MD5SUM="395dd050e369ff70896732377060a327" +DOWNLOAD="https://github.com/grpc/grpc/archive/v1.75.1/grpc-1.75.1.tar.gz" +MD5SUM="d3154a2dd983ab10784dd0699f4d42a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="protobuf3 re2" +REQUIRES="protobuf3 python3-cython-opt re2" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |
