From 6c1904c6b07950e29ad308eb6bbe4175368440e8 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 18 Dec 2023 14:32:07 -0500 Subject: [PATCH] dev-python/pypy3_9: fixup compileall call excludes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There's a bunch of testdata that isn't supposed to be compiled. The CPython build system automatically excludes it, but PyPy doesn't have a build system so we must do it manually. The original implementation passes the excludes args after the operand, which is unreliable across PyPy versions. For consistency, specify them before. Signed-off-by: Eli Schwartz Signed-off-by: Michał Górny --- dev-python/pypy3_9/pypy3_9-7.3.13-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 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 4cf1093bca1da..0c66221371e4f 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 @@ -203,8 +203,8 @@ src_install() { einfo "Byte-compiling Python standard library..." # 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 + -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ + --hardlink-dupes -q -f -d "${dest}" "${ED}${dest}" || die # remove to avoid collisions rm "${PYTHON}" || die