commit:     0e52d71f5623f3ed262977a8aa961814acaaf967
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  7 16:43:25 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 17:10:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e52d71f

dev-python/pypy: Adjust subslot to match ABI ver on 5.4.0

Set subslot on pypy-5.4.0+ to match upstream ABI version, to avoid
unnecessary rebuilds on ABI-compatible upgrades. I was planning to do
this for quite some time but waited for next major bump to avoid
needless rebuilds. Sadly, with each bump I forgot again. Therefore,
let's do this in place while 5.4.0 is still fresh.

 dev-python/pypy/{pypy-5.4.0.ebuild => pypy-5.4.0-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pypy/pypy-5.4.0.ebuild 
b/dev-python/pypy/pypy-5.4.0-r1.ebuild
similarity index 98%
rename from dev-python/pypy/pypy-5.4.0.ebuild
rename to dev-python/pypy/pypy-5.4.0-r1.ebuild
index d7a4f0a..0276532 100644
--- a/dev-python/pypy/pypy-5.4.0.ebuild
+++ b/dev-python/pypy/pypy-5.4.0-r1.ebuild
@@ -16,7 +16,8 @@ 
SRC_URI="https://bitbucket.org/pypy/pypy/downloads/${MY_P}-src.tar.bz2
        
https://dev.gentoo.org/~djc/python-gentoo-patches-${CPY_PATCHSET_VERSION}.tar.xz";
 
 LICENSE="MIT"
-SLOT="0/$(get_version_component_range 1-2 ${PV})"
+# pypy -c 'import sysconfig; print sysconfig.get_config_var("SOABI")'
+SLOT="0/41"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="bzip2 doc gdbm +jit libressl low-memory ncurses sandbox +shadowstack 
sqlite cpu_flags_x86_sse2 test tk"
 

Reply via email to