From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1637076-garchives=archives.gentoo.org@lists.gentoo.org> 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 3E14F1581D3 for <garchives@archives.gentoo.org>; Thu, 30 May 2024 15:38:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D1DEE2A5B; Thu, 30 May 2024 15:38:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1CB1EE2A5B for <gentoo-commits@lists.gentoo.org>; Thu, 30 May 2024 15:38:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1FE8F335D64 for <gentoo-commits@lists.gentoo.org>; Thu, 30 May 2024 15:38:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B18A3E21 for <gentoo-commits@lists.gentoo.org>; Thu, 30 May 2024 15:38:20 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1717083486.7758d4908a955d0b7cf7ab7104e15a32e5546aab.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python/python-3.13.0_beta1_p3.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7758d4908a955d0b7cf7ab7104e15a32e5546aab X-VCS-Branch: master Date: Thu, 30 May 2024 15:38:20 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5bcaaf65-d557-4eb3-ae3a-ddece8068d47 X-Archives-Hash: 5dd62ee21d83100a5aabb7faa9c472c8 commit: 7758d4908a955d0b7cf7ab7104e15a32e5546aab Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed May 29 16:15:30 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu May 30 15:38:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7758d490 dev-lang/python: Use CHOST rather than ARCH for test skips Use CHOST rather than ARCH+big-endian flag to determine the host. This simplifies the rules for ppc64 (BE). Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/36888 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-lang/python/python-3.13.0_beta1_p3.ebuild | 44 +++++++++++++-------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/dev-lang/python/python-3.13.0_beta1_p3.ebuild b/dev-lang/python/python-3.13.0_beta1_p3.ebuild index 6cd571f48fc1..1bc9c7f697f9 100644 --- a/dev-lang/python/python-3.13.0_beta1_p3.ebuild +++ b/dev-lang/python/python-3.13.0_beta1_p3.ebuild @@ -33,7 +33,7 @@ LICENSE="PSF-2" SLOT="${PYVER}" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE=" - big-endian bluetooth build +debug +ensurepip examples gdbm +gil jit + bluetooth build +debug +ensurepip examples gdbm +gil jit libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind " REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" @@ -250,8 +250,8 @@ src_configure() { ) # Arch-specific skips. See #931888 for a collection of these. - case ${ARCH} in - alpha) + case ${CHOST} in + alpha*) test_opts+=( -x test_builtin -x test_capi @@ -268,30 +268,30 @@ src_configure() { -x test_strtod ) ;; - ia64) + ia64*) test_opts+=( -x test_ctypes -x test_external_inspection ) ;; - mips) + mips*) test_opts+=( -x test_ctypes -x test_external_inspection -x test_statistics ) ;; - ppc64) - if use big-endian; then - test_opts+=( -x test_descr ) - fi + powerpc64-*) # big endian + test_opts+=( + -x test_descr + ) ;; - riscv) + riscv*) test_opts+=( -x test_urllib2 ) ;; - sparc) + sparc*) test_opts+=( # bug 788022 -x test_multiprocessing_fork @@ -340,13 +340,13 @@ src_configure() { ) # Arch-specific skips. See #931888 for a collection of these. - case ${ARCH} in - alpha) + case ${CHOST} in + alpha*) profile_task_flags+=( -x test_os ) ;; - hppa) + hppa*) profile_task_flags+=( -x test_descr # bug 931908 @@ -354,20 +354,18 @@ src_configure() { -x test_os ) ;; - ia64) + ia64*) profile_task_flags+=( -x test_signal ) ;; - ppc64) - if use big-endian; then - profile_task_flags+=( - # bug 931908 - -x test_exceptions - ) - fi + powerpc64-*) # big endian + profile_task_flags+=( + # bug 931908 + -x test_exceptions + ) ;; - riscv) + riscv*) profile_task_flags+=( -x test_statistics )