Skip to content

Commit e2ad38d

Browse files
committed
dev-python/pytest-asyncio: new package, add 0.23.6
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3526 Signed-off-by: Andreas Billmeier <[email protected]>
1 parent c0aa9af commit e2ad38d

File tree

4 files changed

+73
-2
lines changed

4 files changed

+73
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,12 +606,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
606606

607607
## Licenses
608608
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.
609-
There are 1948 Ebuilds in total, 1937 of them have in total 1960 (42 different) licenses assigned.
609+
There are 1949 Ebuilds in total, 1938 of them have in total 1961 (42 different) licenses assigned.
610610

611611
|License| Ebuilds using it|
612612
|-------|-----|
613613
|MIT|1121|
614-
|Apache-2.0|435|
614+
|Apache-2.0|436|
615615
|GPL-3|114|
616616
|BSD|111|
617617
|LGPL-3|25|

dev-python/pytest-asyncio/Manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DIST pytest-asyncio-0.23.6.tar.gz 46203 BLAKE2B 37dd3cafa2c77b0dd04a6f406e9e83705b31a98eb058fef02ad6d917cb291874dac0388a129bce5d80954fe8dd0a28fbe9e2b94dabc2ff59a1a055154b908cce SHA512 24ec7fef2f1db744c743c4da651106320d02e8a83af0a238f6335ef669751e541b7fa787fd007fd7208f1837c1cb684acdecd66ee5e022501a7aad97649fdfbe
2+
EBUILD pytest-asyncio-0.23.6.ebuild 1522 BLAKE2B 01654d949cd919ef3066a4656533277aeebada9c1fc758d348e0b5a7e0ba14c359ef5c4861934cf6bce52dfbc3604bd0ddbb8b5f86b025a4276b493f877559da SHA512 93f08b676cbaf9293771b7c209929bbb251262673bef95bc0f812295e0f8f7e38721ff6ea03573e16dcd3f452a640055a8234d209d4a98834ffdf637cb5e9722
3+
MISC metadata.xml 557 BLAKE2B 28bdae11b19189ed1998ddcfe1ed9dab56722ae774f297fb7981e2deb916f5485747932fd551549e51234bf56000b309af202601aa4fa3559879e3bc4592c3b7 SHA512 776726a9bcd868bc58f48af506c5483c2fb137713178c9be6d131285d430928691157537fc0347572868dca223a0f4b84ead9742d2d17b932642ed1b3d8c0366
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<maintainer type="project">
5+
<email>[email protected]</email>
6+
<name>Andreas Billmeier</name>
7+
</maintainer>
8+
<upstream>
9+
<remote-id type="pypi">pytest-asyncio</remote-id>
10+
<remote-id type="github">pytest-dev/pytest-asyncio</remote-id>
11+
<maintainer status="unknown">
12+
<email>[email protected]</email>
13+
<name>Tin Tvrtković &lt;[email protected]&gt;</name>
14+
</maintainer>
15+
</upstream>
16+
</pkgmetadata>
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DISTUTILS_USE_PEP517=setuptools
7+
PYPI_NO_NORMALIZE=1
8+
PYTHON_COMPAT=( python3_{11..13} )
9+
10+
inherit distutils-r1 pypi
11+
12+
DESCRIPTION="Library for testing asyncio code with pytest"
13+
HOMEPAGE="
14+
https://github.com/pytest-dev/pytest-asyncio/
15+
https://pypi.org/project/pytest-asyncio/
16+
"
17+
18+
LICENSE="Apache-2.0"
19+
SLOT="0"
20+
KEYWORDS="amd64 arm arm64 x86"
21+
22+
RDEPEND="
23+
>=dev-python/pytest-5.4.0[${PYTHON_USEDEP}]
24+
"
25+
BDEPEND="
26+
dev-python/setuptools-scm[${PYTHON_USEDEP}]
27+
test? (
28+
>=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
29+
)
30+
"
31+
32+
distutils_enable_tests pytest
33+
34+
python_test() {
35+
local EPYTEST_DESELECT=(
36+
# rely on precise warning counts
37+
tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture
38+
tests/modes/test_legacy_mode.py
39+
tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture
40+
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed
41+
tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed
42+
tests/test_pytest_min_version_warning.py
43+
tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures
44+
45+
# TODO
46+
tests/test_is_async_test.py::test_returns_false_for_unmarked_coroutine_item_in_strict_mode
47+
)
48+
49+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
50+
local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin
51+
epytest
52+
}

0 commit comments

Comments
 (0)