diff options
author | Sam James <sam@gentoo.org> | 2022-03-18 01:19:42 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-25 19:47:42 +0000 |
commit | 508df85c48397645716f02e78923084df65d721e (patch) | |
tree | 36f0d4415bb8fda02af91c38eadd6eb03c0536e5 /eclass | |
parent | multilib.eclass: document multilib_env (diff) | |
download | gentoo-508df85c48397645716f02e78923084df65d721e.tar.gz gentoo-508df85c48397645716f02e78923084df65d721e.tar.bz2 gentoo-508df85c48397645716f02e78923084df65d721e.zip |
ruby-ng.eclass: avoid false-positive for EclassDocMissingVar (inherits)
It's fine to call inherit multiple times and this avoids a EclassDocMissingVar
warning for the variable 'inherits'.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby-ng.eclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 1bc934573140..72e714129715 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -66,20 +66,19 @@ # (e.g. selenium's firefox driver extension). When set this argument is # passed to "grep -E" to remove reporting of these shared objects. -local inherits="" case ${EAPI} in 5) - inherits="eutils toolchain-funcs" + inherit eutils toolchain-funcs ;; 6) - inherits="estack toolchain-funcs" + inherit estack toolchain-funcs ;; *) - inherits="estack" + inherit estack ;; esac -inherit ${inherits} multilib ruby-utils +inherit multilib ruby-utils EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_setup |