summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-05-09 15:49:04 +0200
committerUlrich Müller <ulm@gentoo.org>2022-05-12 19:10:30 +0200
commit6b62d58fd1aad5dda5a4ba3b80ab935ba4c27b05 (patch)
treebfd58031f25aaf7c0a7e5f5ad13fcddd5a84c8a7 /eclass/check-reqs.eclass
parentdev-java/mill-bin: drop 0.10.1 (diff)
downloadgentoo-6b62d58fd1aad5dda5a4ba3b80ab935ba4c27b05.tar.gz
gentoo-6b62d58fd1aad5dda5a4ba3b80ab935ba4c27b05.tar.bz2
gentoo-6b62d58fd1aad5dda5a4ba3b80ab935ba4c27b05.zip
check-reqs.eclass: Don't indent eclass documentation
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/check-reqs.eclass')
-rw-r--r--eclass/check-reqs.eclass13
1 files 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"
}