* [gentoo-dev] [PATCH 1/1] eclass/tests/toolchain.sh: declare PYTHON_COMPAT
@ 2024-09-18 11:30 Petr Vaněk
0 siblings, 0 replies; only message in thread
From: Petr Vaněk @ 2024-09-18 11:30 UTC (permalink / raw
To: gentoo-dev, Toolchain Ninjas; +Cc: Petr Vaněk
toolchain.sh test script requires PYTHON_COMPAT array since commit
1d93a491096f ("toolchain.eclass: rework tests more") otherwise it dies
with
die: PYTHON_COMPAT not declared.
error.
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
---
eclass/tests/toolchain.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/tests/toolchain.sh b/eclass/tests/toolchain.sh
index 6f8df5b4fc4a..2e48c3443493 100755
--- a/eclass/tests/toolchain.sh
+++ b/eclass/tests/toolchain.sh
@@ -11,6 +11,8 @@ PR=r0
source tests-common.sh || exit
source version-funcs.sh || exit
+PYTHON_COMPAT=( python3_{10..13} )
+
EAPI=7 inherit toolchain
# Ignore actually running version of gcc and fake new version
--
2.44.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-18 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-18 11:30 [gentoo-dev] [PATCH 1/1] eclass/tests/toolchain.sh: declare PYTHON_COMPAT Petr Vaněk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox