dev-python/pypy3: Fix generating grammar pickles
authorMichał Górny <mgorny@gentoo.org>
Sun, 12 Nov 2017 08:47:43 +0000 (09:47 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 12 Nov 2017 09:27:00 +0000 (10:27 +0100)
Closes: https://bugs.gentoo.org/637206

dev-python/pypy3/pypy3-5.9.0.ebuild
dev-python/pypy3/pypy3-9999.ebuild

index d81c5775b403f72e6dedf722f42c2047a701b99b..1fe12fc2c523591f147e85b6a562e91a4b9b4fca 100644 (file)
@@ -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
index 5be752f1fc4cf654292a5b5889c8c3c9a12444de..1369c84d3fc9b405312bdc1eb49463e72232bd9f 100644 (file)
@@ -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