From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D4BDE1384B4 for ; Mon, 28 Dec 2015 08:45:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DA9221C027; Mon, 28 Dec 2015 08:44:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9197921C007 for ; Mon, 28 Dec 2015 08:44:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0286B340702; Mon, 28 Dec 2015 08:44:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: 0.652 X-Spam-Level: X-Spam-Status: No, score=0.652 tagged_above=-9999 required=5.5 tests=[SPF_NEUTRAL=0.652] autolearn=no autolearn_force=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pP5C-KbsAK22; Mon, 28 Dec 2015 08:44:02 +0000 (UTC) Received: from leo.ics.kfa-juelich.de (static-2-1006.not-your-server.de [IPv6:2a01:4f8:191:22ca::2:1006]) by smtp.gentoo.org (Postfix) with ESMTP id 23B9B340686; Mon, 28 Dec 2015 08:44:00 +0000 (UTC) From: Justin Lecher To: gentoo-dev@lists.gentoo.org Cc: qa@gentoo.org, Justin Lecher Subject: [gentoo-dev] [PATCH 3/9] check-reqs.eclass: Mark interal function with @INTERNAL Date: Mon, 28 Dec 2015 09:43:49 +0100 Message-Id: <1451292235-25265-4-git-send-email-jlec@gentoo.org> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1451292235-25265-1-git-send-email-jlec@gentoo.org> References: <1451292235-25265-1-git-send-email-jlec@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: 56c468ea-0648-45a7-96dd-9a81cf61e0de X-Archives-Hash: d7535b84c04dc40772326fe959336a0f Signed-off-by: Justin Lecher --- eclass/check-reqs.eclass | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index 219023e..3c98baf 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass @@ -108,6 +108,7 @@ check-reqs_pkg_pretend() { } # @FUNCTION: check-reqs_prepare +# @INTERNAL # @DESCRIPTION: # Internal function that checks the variables that should be defined. check-reqs_prepare() { @@ -124,6 +125,7 @@ check-reqs_prepare() { } # @FUNCTION: check-reqs_run +# @INTERNAL # @DESCRIPTION: # Internal function that runs the check based on variable settings. check-reqs_run() { @@ -158,6 +160,7 @@ check-reqs_run() { } # @FUNCTION: check-reqs_get_mebibytes +# @INTERNAL # @DESCRIPTION: # Internal function that returns number in mebibytes. # Returns 1024 for 1G or 1048576 for 1T. @@ -180,6 +183,7 @@ check-reqs_get_mebibytes() { } # @FUNCTION: check-reqs_get_number +# @INTERNAL # @DESCRIPTION: # Internal function that returns the numerical value without the unit. # Returns "1" for "1G" or "150" for "150T". @@ -203,6 +207,7 @@ check-reqs_get_number() { } # @FUNCTION: check-reqs_get_unit +# @INTERNAL # @DESCRIPTION: # Internal function that return the unit without the numerical value. # Returns "GiB" for "1G" or "TiB" for "150T". @@ -224,6 +229,7 @@ check-reqs_get_unit() { } # @FUNCTION: check-reqs_output +# @INTERNAL # @DESCRIPTION: # Internal function that prints the warning and dies if required based on # the test results. @@ -246,6 +252,7 @@ check-reqs_output() { } # @FUNCTION: check-reqs_memory +# @INTERNAL # @DESCRIPTION: # Internal function that checks size of RAM. check-reqs_memory() { @@ -283,6 +290,7 @@ check-reqs_memory() { } # @FUNCTION: check-reqs_disk +# @INTERNAL # @DESCRIPTION: # Internal function that checks space on the harddrive. check-reqs_disk() { @@ -316,6 +324,7 @@ check-reqs_disk() { } # @FUNCTION: check-reqs_start_phase +# @INTERNAL # @DESCRIPTION: # Internal function that inform about started check check-reqs_start_phase() { @@ -331,6 +340,7 @@ check-reqs_start_phase() { } # @FUNCTION: check-reqs_unsatisfied +# @INTERNAL # @DESCRIPTION: # Internal function that inform about check result. # It has different output between pretend and setup phase, -- 2.6.4