diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-09 01:48:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-09 01:48:35 +0000 |
commit | 0b832a429ecd6081aa9faa0eb262303b019d87ea (patch) | |
tree | c39bb9eaa7bc30cec17f3a3bdef0cf5ed27c6a75 /dev-python/pytest-asyncio | |
parent | 80e87db4d9ed551615eb2d0309bf370e79500716 (diff) |
gentoo auto-resync : 09:03:2025 - 01:48:35
Diffstat (limited to 'dev-python/pytest-asyncio')
-rw-r--r-- | dev-python/pytest-asyncio/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pytest-asyncio/pytest-asyncio-0.23.8.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index aa5c0a4578e3..3c1c35f629b7 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,3 +1,5 @@ +DIST pytest_asyncio-0.23.8.tar.gz 46920 BLAKE2B 6b7a66e6ef28f2c7a874a115e0346b3803051df5d57e5b8ba35480982231a804adfbe8a4a2c605847730ea940fafe9df2aa94f5081b43aa753b64c3e2ea027a5 SHA512 68f23458c5f22bdb75a6a0a12f185b1f22c5231c0cdcd84806781419f5c866844e851398d771c5932af4a42b5dfdcce6624181f2c0d2f70187bb5feed0ba7c97 DIST pytest_asyncio-0.25.3.tar.gz 54239 BLAKE2B 212df50fea5830e9c6f67389cb3108e0dacfc31ac692dc136e9d5d87f5bc8a350ad9c1f3d5becd724ba5d8f4c8ebbdeac7e385c0a2b098b54090029dbff863cc SHA512 8144b636ad77af0ecadf81ff5be396e6706d8c206772953ffd2a62c9889094ff55e3f14c9bbd615a9d58cb192e61385d0ffcb1b56524422376d214154536b532 +EBUILD pytest-asyncio-0.23.8.ebuild 1588 BLAKE2B 6eb2ae5983d610bd9898b00357f312dc97d226139971230eb26e94cd3c6f988dfa0d55347845f035ef93a14147d2998c4fc8d384ca8eb807fb556f1873e5e914 SHA512 c360ec2b77d4f8e200e560c9ef4728fbdd8133d27ef4ec84ed275a215e033a3e622f391b128e4400b3ba6bba7342cb2df8734b70fffc7d14901ffffd20cc7862 EBUILD pytest-asyncio-0.25.3.ebuild 1582 BLAKE2B c48e553f5aa18f9530a4ac6d891067b01d57deb9aa0ec421663e3714993fdac9062618ddd08462e9007f770d4663c8241dd3b75ffa83494bd7512571237e9b5e SHA512 0387431b65d1de73f1c1464d66fe009daf9e80ea6c2391486865e881ef76dedbc5107c448d7312d939c23859a79c9bd1aa6e3e29c336ff608b247bb6aca826ac MISC metadata.xml 385 BLAKE2B 3d8faba48e1b3e531ea338f08f2de4b7bf637190e65fc61df2bd4d994cc97707016f83927f4a5181ac27d412a8c91255e90caba15f2d687f2339bc8ea61b18f2 SHA512 71178d3fba362e7532c87cb519f3661b25018771b86c302660de11f1bc7817b8352a2c8fcf60084a5e62b15148307a360267381ac38e8c856784034d80327d4d diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.23.8.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.23.8.ebuild new file mode 100644 index 000000000000..bf291513a446 --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.23.8.ebuild @@ -0,0 +1,51 @@ +# 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_{10..13} pypy3 pypy3_11 ) + +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-5.4.0[${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/modes/test_legacy_mode.py + tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_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 + tests/test_pytest_min_version_warning.py + tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures + + # TODO + tests/test_is_async_test.py::test_returns_false_for_unmarked_coroutine_item_in_strict_mode + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin + epytest +} |