Skip to content

Commit

Permalink
dev-python/aiohttp-retry: dev-python/aiohttp-retry, fix tests, thanks @…
Browse files Browse the repository at this point in the history
…TheChymera

Closes: #274
Signed-off-by: Andreas Billmeier <b@edevau.net>
  • Loading branch information
onkelbeh committed May 13, 2024
1 parent 548f28f commit 039e040
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dev-python/aiohttp-retry/Manifest
Original file line number Diff line number Diff line change
@@ -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
20 changes: 10 additions & 10 deletions dev-python/aiohttp-retry/aiohttp-retry-2.8.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
# 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"
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

0 comments on commit 039e040

Please sign in to comment.