From fd43a436c37a63a2901f88b35898abd031200e67 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 12 Nov 2017 09:47:43 +0100 Subject: [PATCH] dev-python/pypy3: Fix generating grammar pickles Closes: https://bugs.gentoo.org/637206 --- dev-python/pypy3/pypy3-5.9.0.ebuild | 2 +- dev-python/pypy3/pypy3-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pypy3/pypy3-5.9.0.ebuild b/dev-python/pypy3/pypy3-5.9.0.ebuild index d81c5775b403..1fe12fc2c523 100644 --- a/dev-python/pypy3/pypy3-5.9.0.ebuild +++ b/dev-python/pypy3/pypy3-5.9.0.ebuild @@ -157,7 +157,7 @@ src_compile() { einfo "Generating caches and CFFI modules ..." # Generate Grammar and PatternGrammar pickles. - "${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ + ./pypy3-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ || die "Generation of Grammar and PatternGrammar pickles failed" # Generate cffi modules diff --git a/dev-python/pypy3/pypy3-9999.ebuild b/dev-python/pypy3/pypy3-9999.ebuild index 5be752f1fc4c..1369c84d3fc9 100644 --- a/dev-python/pypy3/pypy3-9999.ebuild +++ b/dev-python/pypy3/pypy3-9999.ebuild @@ -184,7 +184,7 @@ src_compile() { einfo "Generating caches and CFFI modules ..." # Generate Grammar and PatternGrammar pickles. - "${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ + ./pypy3-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ || die "Generation of Grammar and PatternGrammar pickles failed" # Generate cffi modules -- 2.26.2