dev-python/pexpect: Fix readline-induced test failures

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-05-05 16:42:44 +02:00
parent 02ab22b831
commit 694f0879ed

View File

@@ -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