From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A73EF1382C5 for ; Wed, 5 May 2021 17:06:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6261DE08E8; Wed, 5 May 2021 17:06:01 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A4FBE08E5 for ; Wed, 5 May 2021 17:06:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7620433BF5B for ; Wed, 5 May 2021 17:06:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE43978A for ; Wed, 5 May 2021 17:05:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1620234345.694f0879edf58d585dbd53c9a0532c3f1dafefe3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pexpect/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pexpect/pexpect-4.8.0-r1.ebuild X-VCS-Directories: dev-python/pexpect/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 694f0879edf58d585dbd53c9a0532c3f1dafefe3 X-VCS-Branch: master Date: Wed, 5 May 2021 17:05:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dfbf1915-0d3f-42b6-9641-0a9b2a53685e X-Archives-Hash: 71c23a9b964984ab8f9208ead6d6f34d commit: 694f0879edf58d585dbd53c9a0532c3f1dafefe3 Author: Michał Górny gentoo org> AuthorDate: Wed May 5 14:42:44 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 5 17:05:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694f0879 dev-python/pexpect: Fix readline-induced test failures Signed-off-by: Michał Górny gentoo.org> dev-python/pexpect/pexpect-4.8.0-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/pexpect/pexpect-4.8.0-r1.ebuild b/dev-python/pexpect/pexpect-4.8.0-r1.ebuild index cbcceab7520..f1f772edbe3 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