commit: a13e8cf58ddd5a3c6aaf97b4d6f5cb2721ff1cc2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Thu Apr 29 08:25:27 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Thu Apr 29 08:26:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a13e8cf5
dev-python/grpcio-tools: bump to 1.37.0 Bug: https://bugs.gentoo.org/786654 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> dev-python/grpcio-tools/Manifest | 1 + dev-python/grpcio-tools/grpcio-tools-1.37.0.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index 75451670fc4..8a5e8e92e8a 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1 +1,2 @@ DIST grpcio-tools-1.32.0.tar.gz 2103777 BLAKE2B f33a54140a5356afb3930dd1ed7d48852744093621d7b252ba74ab9b615c90de36c637d1004689bd2dc3fc86757c9084795586f334a54c3ed45475f2565edf98 SHA512 aad072eb6de60d162d4ed6e353ced9d1b7d72e4ffd012237294fc5839c7d411dc640ea235746057007d289ee37235aa93c8ac23108299ab150c24f99cf050a4a +DIST grpcio-tools-1.37.0.tar.gz 2120358 BLAKE2B fb23a0e6a970672d03738adfdea0512cf540d237501e7db3d65f0936ff34e3b8fdefcab2a542200c45454d76bab53e9eccbf213aca1b45173c46df9aa39d695b SHA512 db7f80c264b450029184ab3c17603621cd7319711501d318f0d416564265a1d444d626349e5ffb1d117a3e15891a0a61949434f7a5e9b96386cf81f6578d3d37 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.37.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.37.0.ebuild new file mode 100644 index 00000000000..3cd4ae36bed --- /dev/null +++ b/dev-python/grpcio-tools/grpcio-tools-1.37.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_{7,8,9} ) + +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)" +}