sys-kernel/mips-sources: versionator->eapi7-ver
authorMarty E. Plummer <hanetzer@startmail.com>
Fri, 13 Jul 2018 23:01:04 +0000 (01:01 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 13 Jul 2018 23:03:01 +0000 (01:03 +0200)
Originally used versionator functions with the assumption it would
always have it from kernel-2.eclass; switch to eapi7-ver and add
explicit inheritance.

Cherry-picked from https://github.com/gentoo/gentoo/pull/9064 to fix
issue revealed by commit c6b150836dfef848e51ec2cce801b12daf2c77b1.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-kernel/mips-sources/mips-sources-4.13.16.ebuild
sys-kernel/mips-sources/mips-sources-4.4.110.ebuild
sys-kernel/mips-sources/mips-sources-4.9.75.ebuild

index 656f5f1012a3cccfdab3d94f6a46f1e5b954956f..2aa774a33d25fa7c25f254a35282c315b100a24f 100644 (file)
@@ -24,12 +24,12 @@ K_FROM_GIT="yes"
 ETYPE="sources"
 
 # Inherit Eclasses
-inherit kernel-2 eutils
+inherit eapi7-ver eutils kernel-2
 detect_version
 
 # Version Data
 F_KV="${PVR}"
-BASE_KV="$(get_version_component_range 1-2).0"
+BASE_KV="$(ver_cut 1-2).0"
 [[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
 
 # Portage Vars
index ec5f5a516a5848b3b30170f1331b0c5d020ddc41..79d5f1e3cf2800f282efee08b9f1b4cec390e323 100644 (file)
@@ -24,7 +24,7 @@ K_FROM_GIT="yes"
 ETYPE="sources"
 
 # Inherit Eclasses
-inherit kernel-2 eutils
+inherit eapi7-ver eutils kernel-2
 detect_version
 
 # EPATCH Vars
@@ -33,7 +33,7 @@ EPATCH_OPTS="-F3"
 
 # Version Data
 F_KV="${PVR}"
-BASE_KV="$(get_version_component_range 1-2).0"
+BASE_KV="$(ver_cut 1-2).0"
 [[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
 
 # Portage Vars
index 06dc974cbd3bf80acc59ac0665cef8eab52db9d3..124b95b19f6d17d0314b74707c182dbdab788d6b 100644 (file)
@@ -24,12 +24,12 @@ K_FROM_GIT="yes"
 ETYPE="sources"
 
 # Inherit Eclasses
-inherit kernel-2 eutils
+inherit eapi7-ver eutils kernel-2
 detect_version
 
 # Version Data
 F_KV="${PVR}"
-BASE_KV="$(get_version_component_range 1-2).0"
+BASE_KV="$(ver_cut 1-2).0"
 [[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
 
 # Portage Vars