summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-3.13.0-r100.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-r100.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-r100.ebuild')
-rw-r--r--dev-lang/python/python-3.13.0-r100.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-lang/python/python-3.13.0-r100.ebuild b/dev-lang/python/python-3.13.0-r100.ebuild
index 198705beb734..6c37fb5a26d7 100644
--- a/dev-lang/python/python-3.13.0-r100.ebuild
+++ b/dev-lang/python/python-3.13.0-r100.ebuild
@@ -513,6 +513,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
@@ -552,6 +553,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