Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3/
Date: Sun, 12 Nov 2017 09:27:17
Message-Id: 1510478820.fd43a436c37a63a2901f88b35898abd031200e67.mgorny@gentoo
1 commit: fd43a436c37a63a2901f88b35898abd031200e67
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 12 08:47:43 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 12 09:27:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd43a436
7
8 dev-python/pypy3: Fix generating grammar pickles
9
10 Closes: https://bugs.gentoo.org/637206
11
12 dev-python/pypy3/pypy3-5.9.0.ebuild | 2 +-
13 dev-python/pypy3/pypy3-9999.ebuild | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-python/pypy3/pypy3-5.9.0.ebuild b/dev-python/pypy3/pypy3-5.9.0.ebuild
17 index d81c5775b40..1fe12fc2c52 100644
18 --- a/dev-python/pypy3/pypy3-5.9.0.ebuild
19 +++ b/dev-python/pypy3/pypy3-5.9.0.ebuild
20 @@ -157,7 +157,7 @@ src_compile() {
21 einfo "Generating caches and CFFI modules ..."
22
23 # Generate Grammar and PatternGrammar pickles.
24 - "${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
25 + ./pypy3-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
26 || die "Generation of Grammar and PatternGrammar pickles failed"
27
28 # Generate cffi modules
29
30 diff --git a/dev-python/pypy3/pypy3-9999.ebuild b/dev-python/pypy3/pypy3-9999.ebuild
31 index 5be752f1fc4..1369c84d3fc 100644
32 --- a/dev-python/pypy3/pypy3-9999.ebuild
33 +++ b/dev-python/pypy3/pypy3-9999.ebuild
34 @@ -184,7 +184,7 @@ src_compile() {
35 einfo "Generating caches and CFFI modules ..."
36
37 # Generate Grammar and PatternGrammar pickles.
38 - "${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
39 + ./pypy3-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
40 || die "Generation of Grammar and PatternGrammar pickles failed"
41
42 # Generate cffi modules