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/pypy/
Date: Tue, 14 Sep 2021 08:59:16
Message-Id: 1631609945.6eeb1f7c106f6c39fefee7216a908d37ea9e4336.mgorny@gentoo
1 commit: 6eeb1f7c106f6c39fefee7216a908d37ea9e4336
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 14 06:34:59 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 08:59:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eeb1f7c
7
8 dev-python/pypy: Add a subslot check
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pypy/pypy-7.3.6_rc1.ebuild | 4 ++++
13 1 file changed, 4 insertions(+)
14
15 diff --git a/dev-python/pypy/pypy-7.3.6_rc1.ebuild b/dev-python/pypy/pypy-7.3.6_rc1.ebuild
16 index d4372953f88..c4b76dcdef0 100644
17 --- a/dev-python/pypy/pypy-7.3.6_rc1.ebuild
18 +++ b/dev-python/pypy/pypy-7.3.6_rc1.ebuild
19 @@ -56,6 +56,10 @@ src_compile() {
20 mv pypy/module/cpyext/parse/*.h include/ || die
21 pax-mark m pypy-c
22
23 + # verify the subslot
24 + local soabi=$(./pypy-c -c 'import sysconfig; print sysconfig.get_config_var("SOABI")')
25 + [[ ${soabi#pypy-} == ${SLOT#*/} ]] || die "update subslot to ${soabi}"
26 +
27 einfo "Generating caches and CFFI modules ..."
28
29 # Generate Grammar and PatternGrammar pickles.