From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F72D13835A for ; Wed, 7 Apr 2021 05:24:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF3D6E09B5; Wed, 7 Apr 2021 05:24:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A313E08C4 for ; Wed, 7 Apr 2021 05:24:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 044A0340B25 for ; Wed, 7 Apr 2021 05:24:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63516643 for ; Wed, 7 Apr 2021 05:24:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617773066.2c6d7eb8057ca361a82f0159609f137855c7e706.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/linux-misc-apps/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/linux-misc-apps/linux-misc-apps-5.8.ebuild X-VCS-Directories: sys-apps/linux-misc-apps/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2c6d7eb8057ca361a82f0159609f137855c7e706 X-VCS-Branch: master Date: Wed, 7 Apr 2021 05:24:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d1b39fcd-853c-4bfd-8910-3a1698ff1529 X-Archives-Hash: ba7f51ef65431ee6e36b1dad2a8e5a1d commit: 2c6d7eb8057ca361a82f0159609f137855c7e706 Author: Sam James gentoo org> AuthorDate: Wed Apr 7 02:59:11 2021 +0000 Commit: Sam James gentoo 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 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