python3-grpcio-tools: rebuild for Python 3.11

This commit is contained in:
Andrew J. Hesford 2022-09-19 21:09:25 -04:00
parent 7c6d2945fe
commit 5a23fb9093
1 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'python3-grpcio-tools'
pkgname=python3-grpcio-tools
version=1.49.1
revision=1
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
depends="python3-protobuf python3-grpcio"
checkdepends="python3-pytest $depends"
@ -15,6 +15,8 @@ homepage="https://grpc.io"
distfiles="${PYPI_SITE}/g/grpcio-tools/grpcio-tools-${version}.tar.gz"
checksum=84cc64e5b46bad43d5d7bd2fd772b656eba0366961187a847e908e2cb735db91
export GRPC_PYTHON_BUILD_WITH_CYTHON=1
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi