commit: 4d82f050c6a9aacb851fc1a019ebcd3e4c4c7390 Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com> AuthorDate: Fri Jul 13 23:01:04 2018 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Fri Jul 13 23:03:01 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d82f050
sys-kernel/mips-sources: versionator->eapi7-ver 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 <AT> gentoo.org> sys-kernel/mips-sources/mips-sources-4.13.16.ebuild | 4 ++-- sys-kernel/mips-sources/mips-sources-4.4.110.ebuild | 4 ++-- sys-kernel/mips-sources/mips-sources-4.9.75.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys-kernel/mips-sources/mips-sources-4.13.16.ebuild b/sys-kernel/mips-sources/mips-sources-4.13.16.ebuild index 656f5f1012a..2aa774a33d2 100644 --- a/sys-kernel/mips-sources/mips-sources-4.13.16.ebuild +++ b/sys-kernel/mips-sources/mips-sources-4.13.16.ebuild @@ -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 diff --git a/sys-kernel/mips-sources/mips-sources-4.4.110.ebuild b/sys-kernel/mips-sources/mips-sources-4.4.110.ebuild index ec5f5a516a5..79d5f1e3cf2 100644 --- a/sys-kernel/mips-sources/mips-sources-4.4.110.ebuild +++ b/sys-kernel/mips-sources/mips-sources-4.4.110.ebuild @@ -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 diff --git a/sys-kernel/mips-sources/mips-sources-4.9.75.ebuild b/sys-kernel/mips-sources/mips-sources-4.9.75.ebuild index 06dc974cbd3..124b95b19f6 100644 --- a/sys-kernel/mips-sources/mips-sources-4.9.75.ebuild +++ b/sys-kernel/mips-sources/mips-sources-4.9.75.ebuild @@ -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
