From fc8b4b98c7c7dd6f349d319c6352dbe57645ffd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 16 Oct 2024 17:31:56 +0200 Subject: dev-lang/python: Override TMPDIR to reduce risk of test failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-lang/python/python-3.12.7_p1.ebuild | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dev-lang/python/python-3.12.7_p1.ebuild') diff --git a/dev-lang/python/python-3.12.7_p1.ebuild b/dev-lang/python/python-3.12.7_p1.ebuild index 16691eb29cef..9c7d3c48d9a7 100644 --- a/dev-lang/python/python-3.12.7_p1.ebuild +++ b/dev-lang/python/python-3.12.7_p1.ebuild @@ -466,6 +466,7 @@ src_compile() { # bug 660358 local -x COLUMNS=80 local -x PYTHONDONTWRITEBYTECODE= + local -x TMPDIR=/tmp fi # also need to clear the flags explicitly here or they end up @@ -505,6 +506,7 @@ src_test() { # bug 660358 local -x COLUMNS=80 local -x PYTHONDONTWRITEBYTECODE= + local -x TMPDIR=/tmp nonfatal emake -Onone test EXTRATESTOPTS="${test_opts[*]}" \ CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty -- cgit v1.2.3