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 60ED915808B for ; Sat, 5 Oct 2024 08:28:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CE1FE29CF; Sat, 5 Oct 2024 08:28:35 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75C22E29D0 for ; Sat, 5 Oct 2024 08:28:35 +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 C0FAB34312D for ; Sat, 5 Oct 2024 08:28:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A1791F64 for ; Sat, 5 Oct 2024 08:28:33 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1728116905.1d580741c3160cc476b7ff599eaff4741f8ff47c.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_rc3.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1d580741c3160cc476b7ff599eaff4741f8ff47c X-VCS-Branch: master Date: Sat, 5 Oct 2024 08:28:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1eb0e314-fdc9-4a75-a653-3f95f682d6ac X-Archives-Hash: 251d6b55b5b5e896b2c3352f6e75da52 commit: 1d580741c3160cc476b7ff599eaff4741f8ff47c Author: Michał Górny gentoo org> AuthorDate: Sat Oct 5 08:18:47 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 5 08:28:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d580741 dev-lang/python: Wrap all of pkg_setup into MERGE_TYPE check Put all of pkg_setup calls into the MERGE_TYPE check. This does not really change anything, as both invoked functions do MERGE_TYPE checks of their own, but it streamlines and optimizes the ebuild a bit. Signed-off-by: Michał Górny gentoo.org> dev-lang/python/python-3.13.0_rc3.ebuild | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/dev-lang/python/python-3.13.0_rc3.ebuild b/dev-lang/python/python-3.13.0_rc3.ebuild index 6bc1b294d0ed..c97f9faaa41a 100644 --- a/dev-lang/python/python-3.13.0_rc3.ebuild +++ b/dev-lang/python/python-3.13.0_rc3.ebuild @@ -132,15 +132,16 @@ pkg_pretend() { } pkg_setup() { - use jit && llvm-r1_pkg_setup - use test && check-reqs_pkg_setup - if [[ "${MERGE_TYPE}" != binary ]] && { use test || use pgo; } - then - local CONFIG_CHECK - for f in "${!PYTHON_KERNEL_CHECKS[@]}"; do - CONFIG_CHECK+="~${f} " - done - linux-info_pkg_setup + if [[ ${MERGE_TYPE} != binary ]]; then + use jit && llvm-r1_pkg_setup + use test && check-reqs_pkg_setup + if use test || use pgo; then + local CONFIG_CHECK + for f in "${!PYTHON_KERNEL_CHECKS[@]}"; do + CONFIG_CHECK+="~${f} " + done + linux-info_pkg_setup + fi fi }