Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 12 May 2022 17:11:02
Message-Id: 1652375430.6b62d58fd1aad5dda5a4ba3b80ab935ba4c27b05.ulm@gentoo
1 commit: 6b62d58fd1aad5dda5a4ba3b80ab935ba4c27b05
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 9 13:49:04 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 12 17:10:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b62d58f
7
8 check-reqs.eclass: Don't indent eclass documentation
9
10 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
11
12 eclass/check-reqs.eclass | 13 +++++++------
13 1 file changed, 7 insertions(+), 6 deletions(-)
14
15 diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
16 index 5a754c54a303..ddf0a47775ae 100644
17 --- a/eclass/check-reqs.eclass
18 +++ b/eclass/check-reqs.eclass
19 @@ -1,4 +1,4 @@
20 -# Copyright 2004-2021 Gentoo Authors
21 +# Copyright 2004-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 # @ECLASS: check-reqs.eclass
25 @@ -76,6 +76,12 @@ _CHECK_REQS_ECLASS=1
26 # This is a user flag and should under _no circumstances_ be set in the ebuild.
27 [[ -n ${I_KNOW_WHAT_I_AM_DOING} ]] && CHECKREQS_DONOTHING=1
28
29 +# @ECLASS_VARIABLE: CHECKREQS_FAILED
30 +# @INTERNAL
31 +# @DESCRIPTION:
32 +# If set the checks failed and eclass should abort the build.
33 +# Internal, do not set yourself.
34 +
35 # @FUNCTION: check-reqs_pkg_setup
36 # @DESCRIPTION:
37 # Exported function running the resources checks in pkg_setup phase.
38 @@ -457,11 +463,6 @@ _check-reqs_unsatisfied() {
39 [[ ${EBUILD_PHASE} == "pretend" && -z ${CHECKREQS_DONOTHING} ]] && msg="eerror"
40 ${msg} "There is NOT at least ${sizeunit} ${location}"
41
42 - # @ECLASS_VARIABLE: CHECKREQS_FAILED
43 - # @INTERNAL
44 - # @DESCRIPTION:
45 - # If set the checks failed and eclass should abort the build.
46 - # Internal, do not set yourself.
47 CHECKREQS_FAILED="true"
48 }