public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/grpclib/
@ 2024-09-27 17:31 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2024-09-27 17:31 UTC (permalink / raw
  To: gentoo-commits

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>python@gentoo.org</email>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="github">vmagamedov/grpclib</remote-id>
+		<remote-id type="pypi">grpclib</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/grpclib/
@ 2024-09-28 19:36 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2024-09-28 19:36 UTC (permalink / raw
  To: gentoo-commits

commit:     f68422a21b36566e3b9f02d679017ed709311b29
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 28 19:26:38 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 19:36:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f68422a2

dev-python/grpclib: Fix dependencies

Closes: https://bugs.gentoo.org/940453
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/grpclib/{grpclib-0.4.7.ebuild => grpclib-0.4.7-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/grpclib/grpclib-0.4.7.ebuild b/dev-python/grpclib/grpclib-0.4.7-r1.ebuild
similarity index 87%
rename from dev-python/grpclib/grpclib-0.4.7.ebuild
rename to dev-python/grpclib/grpclib-0.4.7-r1.ebuild
index f4a275cf3a19..5e8fea8ee179 100644
--- a/dev-python/grpclib/grpclib-0.4.7.ebuild
+++ b/dev-python/grpclib/grpclib-0.4.7-r1.ebuild
@@ -23,9 +23,12 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
 
+# 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[${PYTHON_USEDEP}]
 "
 BDEPEND="


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-28 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27 17:31 [gentoo-commits] repo/gentoo:master commit in: dev-python/grpclib/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28 19:36 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox