diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-11-13 17:26:49 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-11-13 17:28:50 -0800 |
commit | 2d1f454842925624a042ae27d7fbb525046adbc7 (patch) | |
tree | da8dfe3de2221eab7d2483eb2123fad0de5b1ee2 /dev-python/grpcio-tools | |
parent | dev-python/grpcio: add 1.41.1 (diff) | |
download | gentoo-2d1f454842925624a042ae27d7fbb525046adbc7.tar.gz gentoo-2d1f454842925624a042ae27d7fbb525046adbc7.tar.bz2 gentoo-2d1f454842925624a042ae27d7fbb525046adbc7.zip |
dev-python/grpcio-tools: add 1.41.1
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-python/grpcio-tools')
-rw-r--r-- | dev-python/grpcio-tools/Manifest | 1 | ||||
-rw-r--r-- | dev-python/grpcio-tools/grpcio-tools-1.41.1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 72f2b3d26566..99e25b99eb96 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1 +1,2 @@ DIST grpcio-tools-1.41.0.tar.gz 2172949 BLAKE2B 42c4eee8a5b2f815681fb45fdc681bc713c113d9251acdc1f2fa897756e96a058d83fe75abdafd446d9fe61cec280b6db7e62cb15278882b964c0ed57dbb7beb SHA512 67b293fdbace63d3031372594d57a22194b6d257704279c12b227dabd8feb6de0acd5ba36f6296da7d82c8eac0ca4aa7cc3b12ea01ca9ffa0d15ed8181eb46ee +DIST grpcio-tools-1.41.1.tar.gz 2173046 BLAKE2B 2edfda68c5e5eaa86a69f2061d1b13a6c7070ad4152a20ecea910d4685e0face957aa204c639e4e72b04c131bccca63549a83aa38f0e5201304b48352e4ae3ab SHA512 8f9ea6c2541670cb206059c378b33425fea3d63c3e890ba064581e780dcd3b0ce5f9c890731cac35d14281bfa49182857148fe2794a9373914493c4e0d4ce3b9 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.41.1.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.41.1.ebuild new file mode 100644 index 000000000000..e37b35397828 --- /dev/null +++ b/dev-python/grpcio-tools/grpcio-tools-1.41.1.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)" +} |