summaryrefslogtreecommitdiff
path: root/dev-python/pexpect
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-05-12 14:32:48 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-05-12 14:32:48 +0000
commit2ea9e9988bb62d22d6e189a65a0dc0218b8103db (patch)
treedba985637358ca69fdb87390fc5711880f1959e7 /dev-python/pexpect
parentc2f35c3c3b326b5a16c2f7f7cb347716f3865254 (diff)
downloadbaldeagleos-repo-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.tar.gz
baldeagleos-repo-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.tar.xz
baldeagleos-repo-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.zip
Adding metadata
Diffstat (limited to 'dev-python/pexpect')
-rw-r--r--dev-python/pexpect/pexpect-4.9.0.ebuild23
1 files changed, 21 insertions, 2 deletions
diff --git a/dev-python/pexpect/pexpect-4.9.0.ebuild b/dev-python/pexpect/pexpect-4.9.0.ebuild
index 91d01de90cbd..3dd24ea37b3c 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-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -33,13 +33,32 @@ src_test() {
# workaround new readline defaults
echo "set enable-bracketed-paste off" > "${T}"/inputrc || die
local -x INPUTRC="${T}"/inputrc
+
+ 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
)
- distutils-r1_src_test
+
+ case ${EPYTHON} in
+ python3.13)
+ EPYTEST_DESELECT+=(
+ # TODO: changes in python3.13's prompt?
+ tests/test_replwrap.py::REPLWrapTestCase::test_python
+ tests/test_replwrap.py::REPLWrapTestCase::test_no_change_prompt
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
}
python_install_all() {