diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-05-05 16:42:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-05-05 19:05:45 +0200 |
commit | 694f0879edf58d585dbd53c9a0532c3f1dafefe3 (patch) | |
tree | aeacc5339ad8e8347b7205055b33226465a4bcd7 /dev-python | |
parent | dev-python/apipkg: Bump to 2.0.0rc1 (diff) | |
download | gentoo-694f0879edf58d585dbd53c9a0532c3f1dafefe3.tar.gz gentoo-694f0879edf58d585dbd53c9a0532c3f1dafefe3.tar.bz2 gentoo-694f0879edf58d585dbd53c9a0532c3f1dafefe3.zip |
dev-python/pexpect: Fix readline-induced test failures
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pexpect/pexpect-4.8.0-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild index cbcceab75200..f1f772edbe38 100644 --- a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild +++ b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild @@ -32,6 +32,13 @@ python_compile_all() { use doc && emake -C doc html } +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_install() { distutils-r1_python_install if ! python_is_python3; then |