commit:     4a665e7b736e2b5fd3e2d515ef7b4988623699a0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 02:42:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr  7 05:24:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a665e7b

sci-libs/mumps: 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>

 sci-libs/mumps/mumps-5.3.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/mumps/mumps-5.3.5.ebuild 
b/sci-libs/mumps/mumps-5.3.5.ebuild
index 75cf031e52c..23e0f15d16a 100644
--- a/sci-libs/mumps/mumps-5.3.5.ebuild
+++ b/sci-libs/mumps/mumps-5.3.5.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
-get_version_component_count() {
+_get_version_component_count() {
        local cnt=( $(ver_rs 1- ' ') )
        echo ${#cnt[@]} || die
 }
@@ -53,7 +53,7 @@ static_to_shared() {
                        -Wl,--whole-archive ${libstatic} -Wl,--no-whole-archive 
\
                        "$@" -o ${libdir}/${soname} || die "${soname} failed"
 
-               if [[ $(get_version_component_count) -ge 1 ]] ; then
+               if [[ $(_get_version_component_count) -ge 1 ]] ; then
                        ln -s ${soname} ${libdir}/${libname}$(get_libname 
$(ver_cut 1)) || die
                fi
 

Reply via email to