commit: 6228ec97354d1d39ab3799c2a14a5ba0017cb43d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 22 16:13:23 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 15:01:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6228ec97
dev-python/grpcio-status: New package, v1.67.0
Co-authored-by: Roman Popov <roma251078 <AT> mail.ru>
Signed-off-by: Roman Popov <roma251078 <AT> mail.ru>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/grpcio-status/Manifest | 1 +
.../grpcio-status/grpcio-status-1.67.0.ebuild | 44 ++++++++++++++++++++++
dev-python/grpcio-status/metadata.xml | 13 +++++++
3 files changed, 58 insertions(+)
diff --git a/dev-python/grpcio-status/Manifest
b/dev-python/grpcio-status/Manifest
new file mode 100644
index 000000000000..48efca04d4d7
--- /dev/null
+++ b/dev-python/grpcio-status/Manifest
@@ -0,0 +1 @@
+DIST grpc-1.67.0.gh.tar.gz 17317493 BLAKE2B
81aaf9a4d293dd41d9d068e81eb8a9898b610498722dd6f9c5ff88118fc5a31a936ac83c7cdb4f56c288d131c7721beed8e307dd91bf3de5cc25951cdb06de5a
SHA512
5e76a3147ca051e5304d5d64eefe124cd446dd5d7bd9a65667bae5474b59f70b32368d225e8345c9414bddb968c1390b8bcd08ed97abb62b543528289b29ec35
diff --git a/dev-python/grpcio-status/grpcio-status-1.67.0.ebuild
b/dev-python/grpcio-status/grpcio-status-1.67.0.ebuild
new file mode 100644
index 000000000000..ab5129e7a914
--- /dev/null
+++ b/dev-python/grpcio-status/grpcio-status-1.67.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+MY_P=grpc-${PV}
+DESCRIPTION="Reference package for GRPC Python status proto mapping"
+HOMEPAGE="
+ https://grpc.io/
+ https://github.com/grpc/grpc/
+ https://pypi.org/project/grpcio-status/
+"
+SRC_URI="
+ test? (
+ https://github.com/grpc/grpc/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+ )
+"
+S=${WORKDIR}/${MY_P}/src/python/grpcio_status
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}]
+ <dev-python/protobuf-python-6[${PYTHON_USEDEP}]
+ >=dev-python/protobuf-python-5.26.1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+
+ cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die
+ epytest tests{,_aio}/status
+}
diff --git a/dev-python/grpcio-status/metadata.xml
b/dev-python/grpcio-status/metadata.xml
new file mode 100644
index 000000000000..60bdc8475173
--- /dev/null
+++ b/dev-python/grpcio-status/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">grpcio-status</remote-id>
+ <remote-id type="github">grpc/grpc</remote-id>
+ </upstream>
+</pkgmetadata>