From: Michał Górny Date: Sun, 12 Nov 2017 08:47:43 +0000 (+0100) Subject: dev-python/pypy3: Fix generating grammar pickles X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fd43a436c37a63a2901f88b35898abd031200e67;p=gentoo.git dev-python/pypy3: Fix generating grammar pickles Closes: https://bugs.gentoo.org/637206 --- 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