From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72531158083 for ; Wed, 18 Sep 2024 11:30:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B1D7E29A4; Wed, 18 Sep 2024 11:30:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 431AEE299F for ; Wed, 18 Sep 2024 11:30:26 +0000 (UTC) From: =?UTF-8?q?Petr=20Van=C4=9Bk?= To: gentoo-dev@lists.gentoo.org, Toolchain Ninjas Cc: =?UTF-8?q?Petr=20Van=C4=9Bk?= Subject: [gentoo-dev] [PATCH 1/1] eclass/tests/toolchain.sh: declare PYTHON_COMPAT Date: Wed, 18 Sep 2024 13:30:12 +0200 Message-ID: <20240918113012.20881-1-arkamar@gentoo.org> X-Mailer: git-send-email 2.44.2 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: cd39f5ab-5574-4073-a47a-74fdf6c94b83 X-Archives-Hash: 8f7e16a852f50a257185a711b7236f29 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 --- 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