commit: fc6811e38d3195503c2ae87d91c3cd9279e753c0
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 12 21:14:10 2025 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Jun 12 21:15:13 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6811e3
profiles, m68k time64 / aligned: enable python 3.13 here again
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
profiles/default/linux/m68k/23.0/time64/make.defaults | 9 +++++++++
profiles/default/linux/m68k/23.0/time64/package.mask | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/profiles/default/linux/m68k/23.0/time64/make.defaults
b/profiles/default/linux/m68k/23.0/time64/make.defaults
index 9188aed8a582..61e5746feb90 100644
--- a/profiles/default/linux/m68k/23.0/time64/make.defaults
+++ b/profiles/default/linux/m68k/23.0/time64/make.defaults
@@ -8,3 +8,12 @@ CFLAGS="${CFLAGS} -malign-int"
CXXFLAGS="${CXXFLAGS} -malign-int"
FCFLAGS="${FCFLAGS} -malign-int"
FFLAGS="${FFLAGS} -malign-int"
+
+# As opposed to old-style m68k, python-3.13 (and later?) works here
+# Unfortunately, since the main m68k profile overwrites these variables,
+# we cannot simply go back to the base settings but need to overwrite
+# them *again*.
+PYTHON_SINGLE_TARGET="python3_13"
+PYTHON_TARGETS="python3_13"
+BOOTSTRAP_USE="unicode pkg-config split-usr xml python_targets_python3_13
python_single_target_python3_13"
+
diff --git a/profiles/default/linux/m68k/23.0/time64/package.mask
b/profiles/default/linux/m68k/23.0/time64/package.mask
index 702337e06c07..6b44966a1a44 100644
--- a/profiles/default/linux/m68k/23.0/time64/package.mask
+++ b/profiles/default/linux/m68k/23.0/time64/package.mask
@@ -5,3 +5,7 @@
# Since we are using -maligned-int by default here, we also need the
# corresponding fixed / patched toolchain versions...
<sys-libs/glibc-2.41-r2
+
+# Python 3.13 works here. Not sure about 3.14 yet, we'll find out.
+-dev-lang/python:3.13
+-dev-lang/python:3.13t