dev-python/pypy: Adjust subslot to match ABI ver on 5.4.0
authorMichał Górny <mgorny@gentoo.org>
Wed, 7 Sep 2016 16:43:25 +0000 (18:43 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 7 Sep 2016 17:10:52 +0000 (19:10 +0200)
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-r1.ebuild [moved from dev-python/pypy/pypy-5.4.0.ebuild with 98% similarity]

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 d7a4f0ab1f43940629a7d97ae6e72737d87319c1..027653200edec69016346a4ac9795802f89af0f6 100644 (file)
@@ -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"