commit:     d8c770274eb612119c7490dfb3fa850bdc26e5f7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 10:12:38 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 10:12:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c77027

dev-libs/libinput: add pytest-xdist test dep

The validate-quirks-files test needs this as it tries to invoke w/ -n
rather than hitting an importerror.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libinput/libinput-1.25.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-libs/libinput/libinput-1.25.0.ebuild 
b/dev-libs/libinput/libinput-1.25.0.ebuild
index 27fd6eabd2b0..00fdfcb82be1 100644
--- a/dev-libs/libinput/libinput-1.25.0.ebuild
+++ b/dev-libs/libinput/libinput-1.25.0.ebuild
@@ -44,6 +44,7 @@ BDEPEND="
        test? (
                $(python_gen_any_dep '
                        dev-python/pytest[${PYTHON_USEDEP}]
+                       dev-python/pytest-xdist[${PYTHON_USEDEP}]
                ')
        )
 "
@@ -61,6 +62,7 @@ python_check_deps() {
        if use test; then
                python_has_version \
                        "dev-python/pytest[${PYTHON_USEDEP}]" \
+                       "dev-python/pytest-xdist[${PYTHON_USEDEP}]" \
                || return
        fi
 }

Reply via email to