mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
dev-python/grpc-stubs: new package, add 1.53.0.2
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
37
dev-python/grpc-stubs/grpc-stubs-1.53.0.2.ebuild
Normal file
37
dev-python/grpc-stubs/grpc-stubs-1.53.0.2.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user