commit: 2c6d7eb8057ca361a82f0159609f137855c7e706
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 02:59:11 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 7 05:24:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6d7eb8
sys-apps/linux-misc-apps: prefix helper get_version_component_count with _
Avoids false positives with pkgcheck's MissingInherits. This
is a helper function to emulate versionator.eclass, it's not
a missing inherit.
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/linux-misc-apps/linux-misc-apps-5.8.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-apps/linux-misc-apps/linux-misc-apps-5.8.ebuild
b/sys-apps/linux-misc-apps/linux-misc-apps-5.8.ebuild
index 7b479642bd7..305b9ee03e9 100644
--- a/sys-apps/linux-misc-apps/linux-misc-apps-5.8.ebuild
+++ b/sys-apps/linux-misc-apps/linux-misc-apps-5.8.ebuild
@@ -18,7 +18,7 @@ MY_PV="${MY_PV/-pre/-git}"
LINUX_V=$(ver_cut 1-2)
-get_version_component_count() {
+_get_version_component_count() {
local cnt=( $(ver_rs 1- ' ') )
echo ${#cnt[@]} || die
}
@@ -29,7 +29,7 @@ if [ ${PV/_rc} != ${PV} ]; then
LINUX_PATCH=patch-${PV//_/-}.xz
SRC_URI="https://www.kernel.org/pub/linux/kernel/v3.x/testing/${LINUX_PATCH}
https://www.kernel.org/pub/linux/kernel/v3.x/testing/v${PATCH_VERSION}/${LINUX_PATCH}"
-elif [ $(get_version_component_count) == 4 ]; then
+elif [ $(_get_version_component_count) == 4 ]; then
# stable-release series
LINUX_VER=$(ver_cut 1-3)
LINUX_PATCH=patch-${PV}.xz