commit: c9c83d4e07f4d4ddcf657343e97c0c8469aeaff7
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 8 14:36:13 2025 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jul 8 22:59:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c83d4e
dev-python/aiodns: migrate from manual plugin handling to EPYTEST_PLUGINS
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
dev-python/aiodns/aiodns-3.5.0.ebuild | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/dev-python/aiodns/aiodns-3.5.0.ebuild
b/dev-python/aiodns/aiodns-3.5.0.ebuild
index 07508add572d..cf34eadebfc8 100644
--- a/dev-python/aiodns/aiodns-3.5.0.ebuild
+++ b/dev-python/aiodns/aiodns-3.5.0.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+EPYTEST_PLUGINS=( pytest-asyncio )
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
@@ -23,15 +24,9 @@ RESTRICT="test"
RDEPEND=">=dev-python/pycares-4.9.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
-BDEPEND="
- test? (
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- )
-"
distutils_enable_tests pytest
python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p asyncio --asyncio-mode=auto
+ epytest --asyncio-mode=auto
}