python3-grpcio-tools: update to 1.49.1.

This commit is contained in:
Andrew J. Hesford 2022-10-06 10:39:11 -04:00
parent b18210025b
commit 9499fd73f8

View file

@ -1,7 +1,7 @@
# Template file for 'python3-grpcio-tools'
pkgname=python3-grpcio-tools
version=1.39.0
revision=2
version=1.49.1
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@ -13,18 +13,12 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://grpc.io"
distfiles="${PYPI_SITE}/g/grpcio-tools/grpcio-tools-${version}.tar.gz"
checksum=39dfe7415bc0d3860fdb8dd90607594b046b88b57dbe64284efa4820f951c805
checksum=84cc64e5b46bad43d5d7bd2fd772b656eba0366961187a847e908e2cb735db91
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_patch() {
if [ "${CROSS_BUILD}" ]; then
vsed -i setup.py -e "s@['\"]cc['\"]@'${CC}'@g"
fi
}
pre_check() {
# Subprocesses fail to find the compiled extension when only
# PYTHONPATH is set, so copy the extension into to source tree