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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BB4F1158020 for ; Mon, 12 Dec 2022 05:43:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1BE7E07E1; Mon, 12 Dec 2022 05:43:33 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98F81E07E1 for ; Mon, 12 Dec 2022 05:43:33 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7ACD8341116 for ; Mon, 12 Dec 2022 05:43:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C59E6771 for ; Mon, 12 Dec 2022 05:43:30 +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: <1670823808.9797939288464d838946d91c30a539c53bdd128d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypy3/pypy3-7.3.10-r1.ebuild dev-python/pypy3/pypy3-7.3.10.ebuild X-VCS-Directories: dev-python/pypy3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9797939288464d838946d91c30a539c53bdd128d X-VCS-Branch: master Date: Mon, 12 Dec 2022 05:43:30 +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: 910363a2-70c3-4a35-8343-1e1afd536e3a X-Archives-Hash: 398c35bb47a9286d9ce3d299d01831a5 commit: 9797939288464d838946d91c30a539c53bdd128d Author: Michał Górny gentoo org> AuthorDate: Mon Dec 12 05:30:10 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 12 05:43:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97979392 dev-python/pypy3: Install pregenerated sysconfigdata Signed-off-by: Michał Górny gentoo.org> .../pypy3/{pypy3-7.3.10.ebuild => pypy3-7.3.10-r1.ebuild} | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dev-python/pypy3/pypy3-7.3.10.ebuild b/dev-python/pypy3/pypy3-7.3.10-r1.ebuild similarity index 91% rename from dev-python/pypy3/pypy3-7.3.10.ebuild rename to dev-python/pypy3/pypy3-7.3.10-r1.ebuild index 398fd461b317..8f2a92264ffb 100644 --- a/dev-python/pypy3/pypy3-7.3.10.ebuild +++ b/dev-python/pypy3/pypy3-7.3.10-r1.ebuild @@ -92,6 +92,20 @@ src_compile() { einfo "Generating caches and CFFI modules ..." + # Generate sysconfig data + local host_gnu_type=$(sh pypy/tool/release/config.guess) + local overrides=( + HOST_GNU_TYPE "${host_gnu_type:-unknown}" + INCLUDEPY "${EPREFIX}/usr/include/pypy3.9" + LIBDIR "${EPREFIX}/usr/$(get_libdir)" + TZPATH "${EPREFIX}/usr/share/zoneinfo" + WHEEL_PKG_DIR "${EPREFIX}/usr/lib/python/ensurepip" + ) + ./pypy3.9-c -m sysconfig --generate-posix-vars "${overrides[@]}" || die + local outdir + outdir=$(