Technically when switching between minor versions (e.g. 4.5 -> 4.6) you
need to rebuild anything that has linked against the Xen libraries due
to no promise of ABI stability between those versions. So expose a
sub-slot so packages can be rebuilt appropriately.
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
PYTHON_COMPAT=( python2_7 )
-inherit eutils mount-boot flag-o-matic python-any-r1 toolchain-funcs
+inherit eutils mount-boot flag-o-matic python-any-r1 toolchain-funcs versionator
MY_PV=${PV/_/-}
MY_P=${PN}-${PV/_/-}
+MAJOR_V="$(get_version_component_range 1-2)"
if [[ $PV == *9999 ]]; then
inherit git-r3
DESCRIPTION="The Xen virtual machine monitor"
HOMEPAGE="http://xen.org/"
LICENSE="GPL-2"
-SLOT="0"
+SLOT="0/${MAJOR_V}"
IUSE="custom-cflags debug efi flask xsm"
DEPEND="${PYTHON_DEPS}