summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-07-14 01:01:04 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-07-14 01:03:01 +0200
commit4d82f050c6a9aacb851fc1a019ebcd3e4c4c7390 (patch)
tree831b0c5ecbdf482fe8c21578a78d1dfc993104e6 /sys-kernel/mips-sources
parentapp-portage/gpyutils: Bump to 0.2.2 (diff)
downloadgentoo-4d82f050c6a9aacb851fc1a019ebcd3e4c4c7390.tar.gz
gentoo-4d82f050c6a9aacb851fc1a019ebcd3e4c4c7390.tar.bz2
gentoo-4d82f050c6a9aacb851fc1a019ebcd3e4c4c7390.zip
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@gentoo.org>
Diffstat (limited to 'sys-kernel/mips-sources')
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.13.16.ebuild4
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.4.110.ebuild4
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.9.75.ebuild4
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