dev-python/pytest-asyncio: add 0.24.0

Closes: #4152
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-02-19 22:51:25 +01:00
parent 79778ca27c
commit c1821b3acf
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 48 additions and 2 deletions

View File

@ -606,12 +606,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2356 Ebuilds in total, 2342 of them have in total 2383 (43 different) licenses assigned.
There are 2357 Ebuilds in total, 2343 of them have in total 2384 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1338|
|Apache-2.0|557|
|Apache-2.0|558|
|GPL-3|145|
|BSD|125|
|GPL-2|27|

View File

@ -1,3 +1,5 @@
DIST pytest-asyncio-0.23.6.tar.gz 46203 BLAKE2B 37dd3cafa2c77b0dd04a6f406e9e83705b31a98eb058fef02ad6d917cb291874dac0388a129bce5d80954fe8dd0a28fbe9e2b94dabc2ff59a1a055154b908cce SHA512 24ec7fef2f1db744c743c4da651106320d02e8a83af0a238f6335ef669751e541b7fa787fd007fd7208f1837c1cb684acdecd66ee5e022501a7aad97649fdfbe
DIST pytest_asyncio-0.24.0.tar.gz 49855 BLAKE2B 55813b655252f2c1fbe1658a0a2d739bb03a56794297dde9cf598b8200c0d3aa7437af7a241a821eff47ffe57841142adb93c6434c920cbd1d26b33a8ac8fe96 SHA512 abf2442afb9f5933b223e920c0b107d5781350f2a9c2e58ca141494a4f391acf97f2e377db1fc67b5213031bf371f222dc9c4718ff3c6b5985f5e49913f03cb7
EBUILD pytest-asyncio-0.23.6.ebuild 1522 BLAKE2B 01654d949cd919ef3066a4656533277aeebada9c1fc758d348e0b5a7e0ba14c359ef5c4861934cf6bce52dfbc3604bd0ddbb8b5f86b025a4276b493f877559da SHA512 93f08b676cbaf9293771b7c209929bbb251262673bef95bc0f812295e0f8f7e38721ff6ea03573e16dcd3f452a640055a8234d209d4a98834ffdf637cb5e9722
EBUILD pytest-asyncio-0.24.0.ebuild 1173 BLAKE2B 64e585611e32c79d52f07a0a234d1dd6b0351f7c8ddb6971016f702f02e5feb65c3d6dab59093872b5bb14de39e40edbd2ffe90c0da9b885663bc3b687d6d62b SHA512 b92e3d1815cbff0bbe91bbb0c1f1459e8ea2302ed4f250c3e6987cd61b42c459fd7552255d950395017e28c16328ef377a46e0a8bd82581d2cd3774071005e3b
MISC metadata.xml 557 BLAKE2B 28bdae11b19189ed1998ddcfe1ed9dab56722ae774f297fb7981e2deb916f5485747932fd551549e51234bf56000b309af202601aa4fa3559879e3bc4592c3b7 SHA512 776726a9bcd868bc58f48af506c5483c2fb137713178c9be6d131285d430928691157537fc0347572868dca223a0f4b84ead9742d2d17b932642ed1b3d8c0366

View File

@ -0,0 +1,44 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Library for testing asyncio code with pytest"
HOMEPAGE="
https://github.com/pytest-dev/pytest-asyncio/
https://pypi.org/project/pytest-asyncio/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
>=dev-python/pytest-8.2[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
>=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
# rely on precise warning counts
tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin
epytest
}