python3-grpcio-tools: update to 1.37.1.
This commit is contained in:
parent
1b83490239
commit
f9d4a46494
|
@ -1,18 +1,19 @@
|
||||||
# Template file for 'python3-grpcio-tools'
|
# Template file for 'python3-grpcio-tools'
|
||||||
pkgname=python3-grpcio-tools
|
pkgname=python3-grpcio-tools
|
||||||
version=1.37.0
|
version=1.37.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
makedepends="python3-devel"
|
makedepends="python3-devel"
|
||||||
depends="python3-protobuf python3-grpcio"
|
depends="python3-protobuf python3-grpcio"
|
||||||
|
checkdepends="python3-pytest $depends"
|
||||||
short_desc="Protobuf code generator for gRPC"
|
short_desc="Protobuf code generator for gRPC"
|
||||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://grpc.io"
|
homepage="https://grpc.io"
|
||||||
distfiles="${PYPI_SITE}/g/grpcio-tools/grpcio-tools-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/g/grpcio-tools/grpcio-tools-${version}.tar.gz"
|
||||||
checksum=3ec510c1b6bfc32effc639acf9a055e72dab7a7b6757bf72f2132790d6a7cf1c
|
checksum=d775fb07cc6561174d6c86d11727a156c4ade969f7bf5edf623ffe2a428bee4e
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
|
@ -23,3 +24,9 @@ post_patch() {
|
||||||
vsed -i setup.py -e "s@['\"]cc['\"]@'${CC}'@g"
|
vsed -i setup.py -e "s@['\"]cc['\"]@'${CC}'@g"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_check() {
|
||||||
|
# Subprocesses fail to find the compiled extension when only
|
||||||
|
# PYTHONPATH is set, so copy the extension into to source tree
|
||||||
|
cp -f build/lib*/grpc_tools/*.so grpc_tools
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue