diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-19 21:03:04 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-19 21:04:18 -0800 |
commit | 8be15dd7c1ed1413d3047f533a36e48d2c09e4aa (patch) | |
tree | 1564bb821fb857911e4be5bf3f82613aedf45e3c /dev-python | |
parent | dev-python/grpcio: add 1.43.0 (diff) | |
download | gentoo-8be15dd7c1ed1413d3047f533a36e48d2c09e4aa.tar.gz gentoo-8be15dd7c1ed1413d3047f533a36e48d2c09e4aa.tar.bz2 gentoo-8be15dd7c1ed1413d3047f533a36e48d2c09e4aa.zip |
dev-python/grpcio-tools: add 1.43.0
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/grpcio-tools/Manifest | 1 | ||||
-rw-r--r-- | dev-python/grpcio-tools/grpcio-tools-1.43.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index cefbb8ad8db2..ee91d0cef1c9 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1 +1,2 @@ DIST grpcio-tools-1.41.1.tar.gz 2173046 BLAKE2B 2edfda68c5e5eaa86a69f2061d1b13a6c7070ad4152a20ecea910d4685e0face957aa204c639e4e72b04c131bccca63549a83aa38f0e5201304b48352e4ae3ab SHA512 8f9ea6c2541670cb206059c378b33425fea3d63c3e890ba064581e780dcd3b0ce5f9c890731cac35d14281bfa49182857148fe2794a9373914493c4e0d4ce3b9 +DIST grpcio-tools-1.43.0.tar.gz 2210483 BLAKE2B 5daab31940dc5a21fbfea0985f6056361375be1b45f1a00e9345dc25808050193e20c9316d2a2a18d9a5f503787506f6d76a3bdf95ac6b3b7525873076b9d1e0 SHA512 60a5fa62fc1a81b5a57b47aca212ed94913ca20c3c1055dac18101776177fc0b18cc480c7356332e3eb4cf7819634ddc53d2e77f7c4b582a0fa53e26053f3ed4 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.43.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.43.0.ebuild new file mode 100644 index 000000000000..e37b35397828 --- /dev/null +++ b/dev-python/grpcio-tools/grpcio-tools-1.43.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 multiprocessing prefix + +DESCRIPTION="Protobuf code generator for gRPC" +HOMEPAGE="https://grpc.io" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + ~dev-python/grpcio-${PV}[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + hprefixify setup.py +} + +python_configure_all() { + export GRPC_PYTHON_BUILD_WITH_CYTHON=1 + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" +} |