From 6eeb1f7c106f6c39fefee7216a908d37ea9e4336 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 14 Sep 2021 08:34:59 +0200 Subject: dev-python/pypy: Add a subslot check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pypy/pypy-7.3.6_rc1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dev-python/pypy') diff --git a/dev-python/pypy/pypy-7.3.6_rc1.ebuild b/dev-python/pypy/pypy-7.3.6_rc1.ebuild index d4372953f882..c4b76dcdef06 100644 --- a/dev-python/pypy/pypy-7.3.6_rc1.ebuild +++ b/dev-python/pypy/pypy-7.3.6_rc1.ebuild @@ -56,6 +56,10 @@ src_compile() { mv pypy/module/cpyext/parse/*.h include/ || die pax-mark m pypy-c + # verify the subslot + local soabi=$(./pypy-c -c 'import sysconfig; print sysconfig.get_config_var("SOABI")') + [[ ${soabi#pypy-} == ${SLOT#*/} ]] || die "update subslot to ${soabi}" + einfo "Generating caches and CFFI modules ..." # Generate Grammar and PatternGrammar pickles. -- cgit v1.2.3-65-gdbad