Gentoo Archives: gentoo-dev

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH 2/2] check-reqs.eclass: Drop obsolete check_reqs(), errored out for >3yrs
Date: Sun, 18 Jul 2021 20:53:45
Message-Id: 9192556.eNJFYEL58v@tuxbook
In Reply to: [gentoo-dev] [PATCH 1/2] check-reqs.eclass: Support EAPI-8 by Andreas Sturmlechner
1 Signed-off-by: Andreas Sturmlechner <asturm@g.o>
2 ---
3 eclass/check-reqs.eclass | 7 -------
4 1 file changed, 7 deletions(-)
5
6 diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
7 index 70c740d0363..d606e1a8749 100644
8 --- a/eclass/check-reqs.eclass
9 +++ b/eclass/check-reqs.eclass
10 @@ -68,13 +68,6 @@ _CHECK_REQS_ECLASS=1
11 # @DESCRIPTION:
12 # How much space is needed in /var? Eg.: CHECKREQS_DISK_VAR=3000M
13
14 -# Obsolete function executing all the checks and printing out results
15 -check_reqs() {
16 - eerror "Package calling old ${FUNCNAME} function."
17 - eerror "It should call check-reqs_pkg_pretend and check-reqs_pkg_setup."
18 - die "${FUNCNAME} is banned"
19 -}
20 -
21 # @FUNCTION: check-reqs_pkg_setup
22 # @DESCRIPTION:
23 # Exported function running the resources checks in pkg_setup phase.
24 --
25 2.32.0

Attachments

File name MIME type
signature.asc application/pgp-signature