From 0a2ed735524c09ba687e6abf6134d7f683e03bf7 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 16 Apr 2025 15:45:09 -0400 Subject: llvm-core/llvm: enable py3.13 for old versions Python is currently only used for two things in llvm:15, and that is: - Test-time use of llvm-lit, see corresponding change to dev-python/lit for why it is safe to enable py3.13. Note that llvm-lit loads cfg files which are python scripts used by the test. Some unmaintained code removed in llvm:16 uses a python module removed in 3.13, but we never built it to begin with so the easiest fix is to remove it entirely so that llvm-lit does not try to load it and fail with ModuleNotFoundError. - USE=docs. We could drop docs from ancient slots, but it is just sphinx with a trivial conf.py and it does work, so we might as well allow it. Acked-by: Sam James Signed-off-by: Eli Schwartz --- llvm-core/llvm/llvm-17.0.6-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm-core/llvm/llvm-17.0.6-r3.ebuild') diff --git a/llvm-core/llvm/llvm-17.0.6-r3.ebuild b/llvm-core/llvm/llvm-17.0.6-r3.ebuild index 03c5535d257d..313ba4b209d4 100644 --- a/llvm-core/llvm/llvm-17.0.6-r3.ebuild +++ b/llvm-core/llvm/llvm-17.0.6-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit cmake flag-o-matic llvm.org multilib-minimal pax-utils python-any-r1 inherit toolchain-funcs -- cgit v1.2.3