commit:     fd43a436c37a63a2901f88b35898abd031200e67
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 12 08:47:43 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 12 09:27:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd43a436

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 d81c5775b40..1fe12fc2c52 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 5be752f1fc4..1369c84d3fc 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

Reply via email to