dev-python/grpc-stubs: new package, add 1.53.0.2

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer
2023-05-22 02:44:06 +02:00
parent b820c3b9b2
commit 978ae5c140
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST grpc-stubs-1.53.0.2.gh.tar.gz 14607 BLAKE2B a18f17d1fe31133f7bafb4728b1748537db11b5d11f7da9364fb595c86afcfb47199d069e7eb3e05b89b92757b1080dfd443d0ee2006e85e49c75e5ad188e41a SHA512 ea8343231d12a34927bab56ddfdad69233c4e09502cd072db9ed21ec79726a600e9dc31a0b3ecbae47ea5f4357ddb0840e022fb385f6e1296665406254c59fba

View File

@@ -0,0 +1,37 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1
DESCRIPTION="gRPC typing stubs for Python"
HOMEPAGE="
https://pypi.org/project/grpc-stubs/
https://github.com/shabbyrobe/grpc-stubs/
"
SRC_URI="https://github.com/shabbyrobe/grpc-stubs/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/grpcio[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/mypy[${PYTHON_USEDEP}]
dev-python/pytest-mypy-plugins[${PYTHON_USEDEP}]
dev-python/types-protobuf[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
epytest --mypy-ini-file=setup.cfg
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>watermanpaint@posteo.net</email>
<name>Lucio Sauer</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">shabbyrobe/grpc-stubs</remote-id>
<remote-id type="pypi">grpc-stubs</remote-id>
</upstream>
</pkgmetadata>