diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-08 18:51:46 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-08 18:51:46 +0000 |
| commit | 7a3da982c66469a5e151b94c0452e4d60b979694 (patch) | |
| tree | 2dcad476700ed57587a0e020524651fa775e5485 /dev-python/pytest-asyncio | |
| parent | 4a4a1db401ef4f6e03e944b5029923d214f7d525 (diff) | |
| download | baldeagleos-repo-7a3da982c66469a5e151b94c0452e4d60b979694.tar.gz baldeagleos-repo-7a3da982c66469a5e151b94c0452e4d60b979694.tar.xz baldeagleos-repo-7a3da982c66469a5e151b94c0452e4d60b979694.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pytest-asyncio')
| -rw-r--r-- | dev-python/pytest-asyncio/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pytest-asyncio/pytest-asyncio-0.25.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 533906b2354c..ed6150f0e14a 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,2 +1,3 @@ DIST pytest_asyncio-0.25.0.tar.gz 53298 BLAKE2B e29641f9e0ae24aac80bca7eaa14258d0bdfa6080abeaedd38ffe121cb9a9bf5886da2a38a3033010fcb47f4c2aee0eb17b0f63cee020c5ae81e8334486c66b7 SHA512 162d1693c82c4be96cf20cfeb075c4e434e897cdfc172564b8b2513b362a6bbf54d8be6da4a63a7de34236b6c55eb515e60b994198c07a5c63a63333fe019932 DIST pytest_asyncio-0.25.1.tar.gz 53760 BLAKE2B e7e30691734c0c0c0783f152531b6e3e7455098b577a0ae87d560959e5fbd7a3a04148b85b13543a69763022b49d5d946af089a2ad0cedae5d9f3470643c1e6e SHA512 8a6ce121dfce4362a9b9dd320ee8207129a5f9d667e80fc8d6b9a43095883cfbbb59813e2fafc5deae062c596b2a9af76b80b18fabcc003fbecf9a0fc8b09e01 +DIST pytest_asyncio-0.25.2.tar.gz 53950 BLAKE2B 950cbaa50e2bb8a66cd2396e7e6b5c0c97e2cd0272381b0de23f3668dea2f663f9eaf0c92ec91c474cd1dc44f3aeae77dac1e347ee86cefb518850d9985d2e7a SHA512 d19e2de9ae27cfedc06580ffea21b8894054c35e62601a01487d485ece906f765640dcd9fb633059925701f082644c424b7b532a91e978b8c099192e9a324f6e diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.25.2.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.25.2.ebuild new file mode 100644 index 000000000000..57f3b5c1b280 --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.25.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/hypothesis-5.7.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +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.py::test_event_loop_fixture_handles_unclosed_async_gen + 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 +} |
