From f68422a21b36566e3b9f02d679017ed709311b29 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 28 Sep 2024 21:26:38 +0200 Subject: dev-python/grpclib: Fix dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/940453 Signed-off-by: Michał Górny --- dev-python/grpclib/grpclib-0.4.7-r1.ebuild | 41 ++++++++++++++++++++++++++++++ dev-python/grpclib/grpclib-0.4.7.ebuild | 38 --------------------------- 2 files changed, 41 insertions(+), 38 deletions(-) create mode 100644 dev-python/grpclib/grpclib-0.4.7-r1.ebuild delete mode 100644 dev-python/grpclib/grpclib-0.4.7.ebuild diff --git a/dev-python/grpclib/grpclib-0.4.7-r1.ebuild b/dev-python/grpclib/grpclib-0.4.7-r1.ebuild new file mode 100644 index 000000000000..5e8fea8ee179 --- /dev/null +++ b/dev-python/grpclib/grpclib-0.4.7-r1.ebuild @@ -0,0 +1,41 @@ +# 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" + +# 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=" + test? ( + dev-python/async-timeout[${PYTHON_USEDEP}] + dev-python/Faker[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/grpclib/grpclib-0.4.7.ebuild b/dev-python/grpclib/grpclib-0.4.7.ebuild deleted file mode 100644 index f4a275cf3a19..000000000000 --- a/dev-python/grpclib/grpclib-0.4.7.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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 -- cgit v1.2.3-65-gdbad