diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-04-29 01:25:27 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-04-29 01:26:05 -0700 |
commit | a13e8cf58ddd5a3c6aaf97b4d6f5cb2721ff1cc2 (patch) | |
tree | 1a7fbc248ab67ca107b553d5f1f40e50cc4f2e14 /dev-python/grpcio-tools | |
parent | dev-python/grpcio: bump to 1.37.0 (diff) | |
download | gentoo-a13e8cf58ddd5a3c6aaf97b4d6f5cb2721ff1cc2.tar.gz gentoo-a13e8cf58ddd5a3c6aaf97b4d6f5cb2721ff1cc2.tar.bz2 gentoo-a13e8cf58ddd5a3c6aaf97b4d6f5cb2721ff1cc2.zip |
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@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.37.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 75451670fc46..8a5e8e92e8a7 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 000000000000..3cd4ae36bed9 --- /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)" +} |