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 9005C158004 for ; Mon, 18 Dec 2023 15:59:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBDE52BC01D; Mon, 18 Dec 2023 15:59:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 A6DF22BC01D for ; Mon, 18 Dec 2023 15:59:15 +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 DA2B6335D6A for ; Mon, 18 Dec 2023 15:59:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 221AC19FD for ; Mon, 18 Dec 2023 15:59:13 +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: <1702915150.022c8c77160c70887b66c76a835b356111202ce0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3_9/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild X-VCS-Directories: dev-python/pypy3_9/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 022c8c77160c70887b66c76a835b356111202ce0 X-VCS-Branch: master Date: Mon, 18 Dec 2023 15:59:13 +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: 75540059-bd54-468c-9997-a23e3ba943d3 X-Archives-Hash: a98de45351ad30156472659303135013 commit: 022c8c77160c70887b66c76a835b356111202ce0 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 18 15:55:25 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 18 15:59:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=022c8c77 dev-python/pypy3_9: Inline compileall call, add excludes Signed-off-by: Michał Górny gentoo.org> dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild index b75fb0c938f5..661ab0988ec8 100644 --- a/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild +++ b/dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit pax-utils python-utils-r1 toolchain-funcs +inherit multiprocessing pax-utils toolchain-funcs PYPY_PV=${PV%_p*} PYVER=3.9 @@ -198,13 +198,15 @@ src_install() { fi dosym ../python/EXTERNALLY-MANAGED "${dest}/EXTERNALLY-MANAGED" - local -x EPYTHON=pypy3 local -x PYTHON=${ED}/usr/bin/pypy${PYVER}-c-${PYPY_PV} # temporarily copy to build tree to facilitate module builds cp -p "${BROOT}/usr/bin/pypy${PYVER}-c-${PYPY_PV}" "${PYTHON}" || die einfo "Byte-compiling Python standard library..." - python_optimize "${ED}${dest}" + # exclude list from CPython Makefile.pre.in + "${PYTHON}" -m compileall -j "$(makeopts_jobs)" -o 0 -o 1 -o 2 \ + --hardlink-dupes -q -f -d "${dest}" "${ED}${dest}" \ + -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' || die # remove to avoid collisions rm "${PYTHON}" || die