summaryrefslogtreecommitdiff
path: root/dev-python/pytest-timeout
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-05-09 09:38:04 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-05-09 09:38:04 +0000
commit11c57b2987e06bf35a84672a4e560212fc363804 (patch)
treee1860cb34d71b1ed7fedeb81e996044324acf10c /dev-python/pytest-timeout
parent49d6eff372ef65c2d900b06355a7169f8c771c6a (diff)
downloadbaldeagleos-repo-11c57b2987e06bf35a84672a4e560212fc363804.tar.gz
baldeagleos-repo-11c57b2987e06bf35a84672a4e560212fc363804.tar.xz
baldeagleos-repo-11c57b2987e06bf35a84672a4e560212fc363804.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest-timeout')
-rw-r--r--dev-python/pytest-timeout/pytest-timeout-2.4.0.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/pytest-timeout/pytest-timeout-2.4.0.ebuild b/dev-python/pytest-timeout/pytest-timeout-2.4.0.ebuild
index 522dbf08b075..c6c59c7f2ebf 100644
--- a/dev-python/pytest-timeout/pytest-timeout-2.4.0.ebuild
+++ b/dev-python/pytest-timeout/pytest-timeout-2.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -31,15 +31,14 @@ BDEPEND="
)
"
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=( "${PN}" )
EPYTEST_XDIST=1
distutils_enable_tests pytest
python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- local -x PYTEST_PLUGINS=pytest_timeout
-
if has_version "dev-python/pytest-cov[${PYTHON_USEDEP}]"; then
- PYTEST_PLUGINS+=,pytest_cov.plugin
+ local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" pytest-cov )
else
EPYTEST_DESELECT+=(
test_pytest_timeout.py::test_cov