commit: 73ebca7508659ca8274aa2704f7947e2d13e14eb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 13 14:22:13 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 14:22:13 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ebca75
dev-python/portalocker: Use EPYTEST_PLUGINS
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/portalocker/portalocker-3.2.0.ebuild | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dev-python/portalocker/portalocker-3.2.0.ebuild
b/dev-python/portalocker/portalocker-3.2.0.ebuild
index 57aa5be8e1c1..acc37465a7cf 100644
--- a/dev-python/portalocker/portalocker-3.2.0.ebuild
+++ b/dev-python/portalocker/portalocker-3.2.0.ebuild
@@ -32,6 +32,7 @@ BDEPEND="
)
"
+EPYTEST_PLUGINS=( pytest-{rerunfailures,timeout} )
distutils_enable_tests pytest
src_prepare() {
@@ -41,11 +42,6 @@ src_prepare() {
sed -i '/--cov/d' pyproject.toml || die
}
-python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest -p rerunfailures -p timeout
-}
-
pkg_postinst() {
optfeature "redis support" dev-python/redis
}