From 039e04078e0a52c9e3c21532ec3c2ae3431fbaf0 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Mon, 13 May 2024 20:37:23 +0200 Subject: [PATCH] dev-python/aiohttp-retry: dev-python/aiohttp-retry, fix tests, thanks @TheChymera Closes: https://github.com/onkelbeh/HomeAssistantRepository/issues/274 Signed-off-by: Andreas Billmeier --- dev-python/aiohttp-retry/Manifest | 4 ++-- .../aiohttp-retry/aiohttp-retry-2.8.3.ebuild | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dev-python/aiohttp-retry/Manifest b/dev-python/aiohttp-retry/Manifest index 17ec93b25c..8ec804f08c 100644 --- a/dev-python/aiohttp-retry/Manifest +++ b/dev-python/aiohttp-retry/Manifest @@ -1,3 +1,3 @@ -DIST aiohttp_retry-2.8.3.tar.gz 10585 BLAKE2B e6aba265fb5b7f71e05d8eabee6a16435a5e14ae596eb8a6c7b715337e0910e62e879336f984b563a1e98fbd95d1b7c4bc655cadb9e89498f65c6e108dd694b9 SHA512 b2fc8ef05b380cc3b2488f39342ea4dddcfebeffd2867b543e323ea700abd465a36c68395a098030985493351299c5d524a24bace37a5e25e65575ac572accc7 -EBUILD aiohttp-retry-2.8.3.ebuild 638 BLAKE2B dba9935c9570396592de87acda2ca0b016a40e78af21375c4060cb6b822d7e5f10c48cd61b77768a5dbaf1eabded3ec1953a2d52e3365e25142c47c5543a5c09 SHA512 d676f0b2183ac8e45ab05088206decf269e252cf2dd772debee4afaadbd70d9cbb841536b76ca72e6642825cc89b6ebd437b558f33167c32fdefe58b27d59d48 +DIST aiohttp-retry-2.8.3.gh.tar.gz 11952 BLAKE2B f2ea6f7b2f13001bd8d49b4529eacb3766cab080ff3a9457e40287bc797afebae10393a628cf78756074ca60a62df78c59c6120f1368316084155f1d7fd7cdfb SHA512 71869c3997e9b5089c298fa6f992b0ed08ca3da0f93c4f37566d8c6b9809bb1873a629cc47f1ffaeccac112d96036851794ee564b11c0f4f1eec00f49413358d +EBUILD aiohttp-retry-2.8.3.ebuild 855 BLAKE2B bec883e6230ea5c6b975c3aafe4288fe88e328309b6276c045bfa2f63deb38c2b2c35f80eb9052b68ff217aa732aa8bc63c8abb07503bdd26b03ea711d1eed9e SHA512 33d9371b33206f093b6419cb01b6289cdc2df285bffba80c6a48221c3ea9444f0abbe20de4de89f83d1b280b9b9cff824638a28b9e1821e5a1ee7c7a1759a4d6 MISC metadata.xml 523 BLAKE2B 1ec91f0bbdca25521e848524c959af6a465655623e992bdf30a32b15039a6fc74e812ae5cc87367de13ed9df7d1e0094dd17954862316835949b1ea7edbc3a85 SHA512 ea64d114f9b6deb530e741c53a0bc30f2bc683b3766ecb585e4451002f6b7e6d863f4d981a12df24e7e7ee7f6683c4db44e36f96a810aefdf616e87d07942cd0 diff --git a/dev-python/aiohttp-retry/aiohttp-retry-2.8.3.ebuild b/dev-python/aiohttp-retry/aiohttp-retry-2.8.3.ebuild index 8a2eb5d081..49eff5cbf0 100644 --- a/dev-python/aiohttp-retry/aiohttp-retry-2.8.3.ebuild +++ b/dev-python/aiohttp-retry/aiohttp-retry-2.8.3.ebuild @@ -1,14 +1,17 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi DESCRIPTION="Simple retry client for aiohttp" -HOMEPAGE="https://github.com/inyutin/aiohttp_retry https://pypi.org/project/aiohttp-retry/" +HOMEPAGE="https://github.com/inyutin/aiohttp_retry" +# Test suite missing from PyPI tarball, reported upstream: +# https://github.com/inyutin/aiohttp_retry/issues/94 +SRC_URI="https://github.com/inyutin/aiohttp_retry/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" @@ -16,16 +19,13 @@ KEYWORDS="amd64 arm arm64 x86" IUSE="test" RESTRICT="!test? ( test )" -DOCS="README.md" - RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" + BDEPEND=" test? ( - dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] )" -python_test() { - py.test -v -v || die -} - distutils_enable_tests pytest