commit:     4ea660380f5a1dfd9b9c00fa9ac2f6f2281cc97c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  4 16:18:38 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Jul  4 16:18:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea66038

dev-lang/python: work around bug in test_help_with_metavar

Bug: https://bugs.gentoo.org/660358
Package-Manager: Portage-2.3.40_p15, Repoman-2.3.9_p247

 dev-lang/python/python-3.6.6.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-lang/python/python-3.6.6.ebuild 
b/dev-lang/python/python-3.6.6.ebuild
index f9fafa1e0df..005fb4f6783 100644
--- a/dev-lang/python/python-3.6.6.ebuild
+++ b/dev-lang/python/python-3.6.6.ebuild
@@ -187,6 +187,9 @@ src_test() {
                mv "${S}"/Lib/test/test_${test}.py "${T}"
        done
 
+       # bug 660358
+       local -x COLUMNS=80
+
        local -x PYTHONDONTWRITEBYTECODE=
 
        emake test EXTRATESTOPTS="-u-network" CPPFLAGS= CFLAGS= LDFLAGS= < 
/dev/tty

Reply via email to