From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/linux-misc-apps/
Date: Wed, 7 Apr 2021 05:24:35 +0000 (UTC) [thread overview]
Message-ID: <1617773066.2c6d7eb8057ca361a82f0159609f137855c7e706.sam@gentoo> (raw)
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
next reply other threads:[~2021-04-07 5:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 5:24 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-28 20:08 [gentoo-commits] repo/gentoo:master commit in: sys-apps/linux-misc-apps/ Mike Gilbert
2021-04-03 15:44 Sam James
2021-03-09 9:44 Sam James
2021-03-03 17:40 Sam James
2021-03-03 17:40 Sam James
2020-09-24 20:22 Aaron Bauman
2020-09-24 19:31 Robin H. Johnson
2020-04-17 18:43 Robin H. Johnson
2020-04-17 17:26 Robin H. Johnson
2019-10-05 18:55 Michał Górny
2018-11-27 21:17 Robin H. Johnson
2018-10-31 22:21 Robin H. Johnson
2016-03-11 0:46 Robin H. Johnson
2016-03-11 0:32 Robin H. Johnson
2016-03-10 16:11 Robin H. Johnson
2015-08-22 20:41 Robin H. Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1617773066.2c6d7eb8057ca361a82f0159609f137855c7e706.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox