commit: 6b62d58fd1aad5dda5a4ba3b80ab935ba4c27b05
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 13:49:04 2022 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu May 12 17:10:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b62d58f
check-reqs.eclass: Don't indent eclass documentation
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
eclass/check-reqs.eclass | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
index 5a754c54a303..ddf0a47775ae 100644
--- a/eclass/check-reqs.eclass
+++ b/eclass/check-reqs.eclass
@@ -1,4 +1,4 @@
-# Copyright 2004-2021 Gentoo Authors
+# Copyright 2004-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: check-reqs.eclass
@@ -76,6 +76,12 @@ _CHECK_REQS_ECLASS=1
# This is a user flag and should under _no circumstances_ be set in the ebuild.
[[ -n ${I_KNOW_WHAT_I_AM_DOING} ]] && CHECKREQS_DONOTHING=1
+# @ECLASS_VARIABLE: CHECKREQS_FAILED
+# @INTERNAL
+# @DESCRIPTION:
+# If set the checks failed and eclass should abort the build.
+# Internal, do not set yourself.
+
# @FUNCTION: check-reqs_pkg_setup
# @DESCRIPTION:
# Exported function running the resources checks in pkg_setup phase.
@@ -457,11 +463,6 @@ _check-reqs_unsatisfied() {
[[ ${EBUILD_PHASE} == "pretend" && -z ${CHECKREQS_DONOTHING} ]] &&
msg="eerror"
${msg} "There is NOT at least ${sizeunit} ${location}"
- # @ECLASS_VARIABLE: CHECKREQS_FAILED
- # @INTERNAL
- # @DESCRIPTION:
- # If set the checks failed and eclass should abort the build.
- # Internal, do not set yourself.
CHECKREQS_FAILED="true"
}