diff options
-rw-r--r-- | dev-python/grpcio-tools/Manifest | 1 | ||||
-rw-r--r-- | dev-python/grpcio-tools/grpcio-tools-1.64.1.ebuild | 37 | ||||
-rw-r--r-- | dev-python/grpcio-tools/metadata.xml | 12 |
3 files changed, 50 insertions, 0 deletions
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-5[${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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Bertrand Jacquin</name> + <email>bertrand@jacquin.bzh</email> + </maintainer> + <upstream> + <remote-id type="github">grpc/grpc</remote-id> + <remote-id type="pypi">grpcio-tools</remote-id> + </upstream> +</pkgmetadata> |