summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-3.13.0.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-16 17:31:56 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-16 17:31:56 +0200
commitfc8b4b98c7c7dd6f349d319c6352dbe57645ffd5 (patch)
tree700c3297f69e004ebb176467ce0d979ad3a10fed /dev-lang/python/python-3.13.0.ebuild
parent641e34b44b21fed67e974ea08c2f9d29cad2f1c0 (diff)
downloadgentoo-fc8b4b98c7c7dd6f349d319c6352dbe57645ffd5.tar.gz
gentoo-fc8b4b98c7c7dd6f349d319c6352dbe57645ffd5.tar.bz2
gentoo-fc8b4b98c7c7dd6f349d319c6352dbe57645ffd5.zip
dev-lang/python: Override TMPDIR to reduce risk of test failures
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-3.13.0.ebuild')
-rw-r--r--dev-lang/python/python-3.13.0.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-lang/python/python-3.13.0.ebuild b/dev-lang/python/python-3.13.0.ebuild
index ffd6571fce4b..6dcbf03f0712 100644
--- a/dev-lang/python/python-3.13.0.ebuild
+++ b/dev-lang/python/python-3.13.0.ebuild
@@ -514,6 +514,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
@@ -553,6 +554,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