summaryrefslogtreecommitdiff
path: root/dev-python/grpclib
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/grpclib')
-rw-r--r--dev-python/grpclib/Manifest1
-rw-r--r--dev-python/grpclib/grpclib-0.4.9.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/grpclib/Manifest b/dev-python/grpclib/Manifest
index 5d9a5cbdc1a0..e88f1764213c 100644
--- a/dev-python/grpclib/Manifest
+++ b/dev-python/grpclib/Manifest
@@ -1 +1,2 @@
DIST grpclib-0.4.8.gh.tar.gz 106522 BLAKE2B df4a4eadfdaece1bc65e27a2ef82562fd095e184c7118da078383afe8a8a03a2e389bdb2466c88079dfae6254c55bb9134eab35cb3c82b1c02e3da6c6a7e02e3 SHA512 f00e93e9371f68a86ce818b3c45e5c7319074163c404b36af3a183f0676fbe58722fa0cb3f119073f13f6d8b763a673e2ab292678868257f88cb834aa5bc2f71
+DIST grpclib-0.4.9.gh.tar.gz 107191 BLAKE2B d2cbd863968cde154351984ff6fe70dd1a4fec36a6689cdab8ab54d103ab435ad964960c83e09510877ef15df1a0d25d3ec7c45de53b0496aae34a4100ffc5af SHA512 7a57acca8173fa20c0ef08319415926e515daad169a4411431a97fc82ba668ddd7d013aef2144556aee6879f625abeeb67698c18b449e604284d50b445238087
diff --git a/dev-python/grpclib/grpclib-0.4.9.ebuild b/dev-python/grpclib/grpclib-0.4.9.ebuild
new file mode 100644
index 000000000000..55b8f3a239f4
--- /dev/null
+++ b/dev-python/grpclib/grpclib-0.4.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+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 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+
+# setup.txt + requirements/runtime.in
+RDEPEND="
+ dev-python/certifi[${PYTHON_USEDEP}]
+ dev-python/googleapis-common-protos[${PYTHON_USEDEP}]
+ dev-python/h2[${PYTHON_USEDEP}]
+ dev-python/multidict[${PYTHON_USEDEP}]
+ dev-python/protobuf[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/async-timeout[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( faker pytest-asyncio )
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # flaky leak checks
+ tests/test_memory.py
+)