From 11c57b2987e06bf35a84672a4e560212fc363804 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 9 May 2026 09:38:04 +0000 Subject: Adding metadata --- dev-python/pexpect/pexpect-4.9.0.ebuild | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'dev-python/pexpect') diff --git a/dev-python/pexpect/pexpect-4.9.0.ebuild b/dev-python/pexpect/pexpect-4.9.0.ebuild index dbf660f4efdc..56b92b054a88 100644 --- a/dev-python/pexpect/pexpect-4.9.0.ebuild +++ b/dev-python/pexpect/pexpect-4.9.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 @@ -25,10 +25,22 @@ RDEPEND=" >=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest distutils_enable_sphinx doc \ dev-python/sphinxcontrib-github-alt +EPYTEST_DESELECT=( + # flaky test on weaker arches + tests/test_performance.py + # requires zsh installed, not worth it + tests/test_replwrap.py::REPLWrapTestCase::test_zsh + # flaky + tests/test_env.py::TestCaseEnv::test_spawn_uses_env + # flaky & hangy + tests/test_socket.py::ExpectTestCase::test_interrupt +) + PATCHES=( # https://github.com/pexpect/pexpect/pull/794 "${FILESDIR}/${P}-py313.patch" @@ -44,22 +56,6 @@ src_test() { distutils-r1_src_test } -python_test() { - local EPYTEST_DESELECT=( - # flaky test on weaker arches - tests/test_performance.py - # requires zsh installed, not worth it - tests/test_replwrap.py::REPLWrapTestCase::test_zsh - # flaky - tests/test_env.py::TestCaseEnv::test_spawn_uses_env - # flaky & hangy - tests/test_socket.py::ExpectTestCase::test_interrupt - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - python_install_all() { if use examples; then dodoc -r examples -- cgit v1.3