diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-11-28 13:58:47 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-11-28 14:21:29 -0800 |
commit | 7084f72af81c2dc7608b8dad3e1bbe5b20eb2571 (patch) | |
tree | 2992874159bed47c71cf65d9770d3db23217eedf /dev-python/grpcio-tools | |
parent | dev-python/grpcio: add 1.51.0 (diff) | |
download | gentoo-7084f72af81c2dc7608b8dad3e1bbe5b20eb2571.tar.gz gentoo-7084f72af81c2dc7608b8dad3e1bbe5b20eb2571.tar.bz2 gentoo-7084f72af81c2dc7608b8dad3e1bbe5b20eb2571.zip |
dev-python/grpcio-tools: add 1.51.0
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.51.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest index d0f707222582..f150c98232f7 100644 --- a/dev-python/grpcio-tools/Manifest +++ b/dev-python/grpcio-tools/Manifest @@ -1 +1,2 @@ DIST grpcio-tools-1.43.0.tar.gz 2210483 BLAKE2B 5daab31940dc5a21fbfea0985f6056361375be1b45f1a00e9345dc25808050193e20c9316d2a2a18d9a5f503787506f6d76a3bdf95ac6b3b7525873076b9d1e0 SHA512 60a5fa62fc1a81b5a57b47aca212ed94913ca20c3c1055dac18101776177fc0b18cc480c7356332e3eb4cf7819634ddc53d2e77f7c4b582a0fa53e26053f3ed4 +DIST grpcio-tools-1.51.0.tar.gz 2254565 BLAKE2B 7486c7c62d691cb3cbaf02a68e73d6d94ee48396b26c4d46c22776396ba7d637c9b6738c00e19a99101e189e7092b2240adbf53ae9d32188dc813a9b0a49c25d SHA512 fa76fd970c399aed7639d6ce343834a5e7d76f2247cc99e59d0bf29844fb2f366bc9b8e2124d7c9dd9163953741c06015ded7f400b8e77d0cdad8ac291a7af83 diff --git a/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild new file mode 100644 index 000000000000..bb067461a7b0 --- /dev/null +++ b/dev-python/grpcio-tools/grpcio-tools-1.51.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +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-5[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-4.21.3[${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)" +} |