From a51986925f692b95690306c7253866d2788b83f9 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Tue, 16 Jul 2024 19:06:29 +0100 Subject: dev-python/grpcio-tools: new package, add 1.64.1 --- dev-python/grpcio-tools/Manifest | 1 + dev-python/grpcio-tools/grpcio-tools-1.64.1.ebuild | 37 ++++++++++++++++++++++ dev-python/grpcio-tools/metadata.xml | 12 +++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-python/grpcio-tools/Manifest create mode 100644 dev-python/grpcio-tools/grpcio-tools-1.64.1.ebuild create mode 100644 dev-python/grpcio-tools/metadata.xml (limited to 'dev-python') diff --git a/dev-python/grpcio-tools/Manifest b/dev-python/grpcio-tools/Manifest new file mode 100644 index 00000000..f523aa49 --- /dev/null +++ b/dev-python/grpcio-tools/Manifest @@ -0,0 +1 @@ +DIST grpcio_tools-1.64.1.tar.gz 5027474 BLAKE2B 97163b46f789463bb97adf8e963f825a7128a4de3b47fe8d5203c385bbd34378214529141994471e586bbf161245362bde22dddead28b72aa82b7c2bd93dcbeb SHA512 28e0699f5548cd5e58115b1f318be42d2edddf2c04aa51100c2a39393f6a094d57995bb26cac7f0b5f91bbdd8436b2b04c8535c14d4838165f0f71b868e0477f diff --git a/dev-python/grpcio-tools/grpcio-tools-1.64.1.ebuild b/dev-python/grpcio-tools/grpcio-tools-1.64.1.ebuild new file mode 100644 index 00000000..ac779359 --- /dev/null +++ b/dev-python/grpcio-tools/grpcio-tools-1.64.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 multiprocessing prefix pypi + +DESCRIPTION="Protobuf code generator for gRPC" +HOMEPAGE="https://grpc.io" + +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-4.21.3[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +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)" +} diff --git a/dev-python/grpcio-tools/metadata.xml b/dev-python/grpcio-tools/metadata.xml new file mode 100644 index 00000000..033c1f65 --- /dev/null +++ b/dev-python/grpcio-tools/metadata.xml @@ -0,0 +1,12 @@ + + + + + Bertrand Jacquin + bertrand@jacquin.bzh + + + grpc/grpc + grpcio-tools + + -- cgit v1.2.3