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 12FF115800A for ; Tue, 8 Aug 2023 04:58:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F0D52BC013; Tue, 8 Aug 2023 04:58:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 25F4B2BC013 for ; Tue, 8 Aug 2023 04:58:48 +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 62ED433D3C7 for ; Tue, 8 Aug 2023 04:58:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D7F74F27 for ; Tue, 8 Aug 2023 04:58:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1691470714.8ffed1deeb1755818d886e0a2121548421792530.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/portage/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/portage/portage-9999.ebuild X-VCS-Directories: sys-apps/portage/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8ffed1deeb1755818d886e0a2121548421792530 X-VCS-Branch: master Date: Tue, 8 Aug 2023 04:58:45 +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: 914b9eea-48e0-439d-ae30-5fb3d0e3f9b1 X-Archives-Hash: 4c3b067d85a935e4fae302c1e05127ef commit: 8ffed1deeb1755818d886e0a2121548421792530 Author: Alfred Wingate protonmail com> AuthorDate: Mon Aug 7 08:09:28 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Aug 8 04:58:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffed1de sys-apps/portage: disable native-extensions for pypy3 Disable native-extensions for pypy3 as they're slow and just a compatibility layer for cpython extensions in pypy. [sam: Note that Portage has pure Python fallbacks for almost everything, except for what Zac points out: "One exception is that the check_locale function just returns None when the extension is disabled, which prevents a possible warning when the LC_CTYPE locale is not posixish."] Signed-off-by: Alfred Wingate protonmail.com> Signed-off-by: Sam James gentoo.org> sys-apps/portage/portage-9999.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index 6bb5c1c1d398..23a08b5ce03e 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -127,12 +127,17 @@ my_src_configure() { -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" $(meson_use doc) $(meson_use apidoc) - $(meson_use native-extensions) $(meson_use gentoo-dev) $(meson_use ipc) $(meson_use xattr) ) + if use native-extensions && [[ "${EPYTHON}" != "pypy3" ]] ; then + emesonargs+=( -Dnative-extensions=true ) + else + emesonargs+=( -Dnative-extensions=false ) + fi + if use build; then emesonargs+=( -Drsync-verify=false ) else