commit: 8866e3896b2829aa2f247ff0a9819ffcc2b26575
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 16:01:23 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 27 17:30:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8866e389
dev-python/grpclib: New package, v0.4.7, deep dep of sigstore
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/grpclib/Manifest | 1 +
dev-python/grpclib/grpclib-0.4.7.ebuild | 38 +++++++++++++++++++++++++++++++++
dev-python/grpclib/metadata.xml | 12 +++++++++++
3 files changed, 51 insertions(+)
diff --git a/dev-python/grpclib/Manifest b/dev-python/grpclib/Manifest
new file mode 100644
index 000000000000..4bb797d64a08
--- /dev/null
+++ b/dev-python/grpclib/Manifest
@@ -0,0 +1 @@
+DIST grpclib-0.4.7.gh.tar.gz 106012 BLAKE2B
9eb351511c4bf5e0be3135734a1d2ce66187a1fef1b35c46cd518199c07cede6f88351b3b56fc211775666c333cafd0a67da2d281b314bc2a8fdb51f9def33bf
SHA512
8148edcadb1140973ea54473939744810f156ff719c72e8485534097d7c0efc324f9b5df1c71e1477e624859d068d5ec0a44b22f80717fd7ca8f697d3dfc592a
diff --git a/dev-python/grpclib/grpclib-0.4.7.ebuild
b/dev-python/grpclib/grpclib-0.4.7.ebuild
new file mode 100644
index 000000000000..f4a275cf3a19
--- /dev/null
+++ b/dev-python/grpclib/grpclib-0.4.7.ebuild
@@ -0,0 +1,38 @@
+# 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
+
+DESCRIPTION="Pure-Python gRPC implementation for asyncio"
+HOMEPAGE="
+ https://github.com/vmagamedov/grpclib/
+ https://pypi.org/project/grpclib/
+"
+# no tests in sdist, as of 0.4.7
+SRC_URI="
+ https://github.com/vmagamedov/grpclib/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/certifi[${PYTHON_USEDEP}]
+ dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
+ dev-python/protobuf-python[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/async-timeout[${PYTHON_USEDEP}]
+ dev-python/Faker[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/grpclib/metadata.xml b/dev-python/grpclib/metadata.xml
new file mode 100644
index 000000000000..77422d53444d
--- /dev/null
+++ b/dev-python/grpclib/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="project">
+ <email>[email protected]</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">vmagamedov/grpclib</remote-id>
+ <remote-id type="pypi">grpclib</remote-id>
+ </upstream>
+</pkgmetadata>