Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 31 Mar 2021 02:04:30
Message-Id: 1617156169.2ac04694dab68b99b0fc5812eed7e8f5ff9e88df.sam@gentoo
1 commit: 2ac04694dab68b99b0fc5812eed7e8f5ff9e88df
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 00:49:06 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 02:02:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ac04694
7
8 ssl-cert.eclass: mark SSL_CERT_MANDATORY, SSL_CERT_USE, SSL_DEPS_SKIP as @PRE_INHERIT
9
10 All manipulate dependencies or IUSE in global scope.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 eclass/ssl-cert.eclass | 5 ++++-
15 1 file changed, 4 insertions(+), 1 deletion(-)
16
17 diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass
18 index fdd6775ffc7..ee7364513a0 100644
19 --- a/eclass/ssl-cert.eclass
20 +++ b/eclass/ssl-cert.eclass
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 # @ECLASS: ssl-cert.eclass
27 @@ -26,16 +26,19 @@ case "${EAPI:-0}" in
28 esac
29
30 # @ECLASS-VARIABLE: SSL_CERT_MANDATORY
31 +# @PRE_INHERIT
32 # @DESCRIPTION:
33 # Set to non zero if ssl-cert is mandatory for ebuild.
34 : ${SSL_CERT_MANDATORY:=0}
35
36 # @ECLASS-VARIABLE: SSL_CERT_USE
37 +# @PRE_INHERIT
38 # @DESCRIPTION:
39 # Use flag to append dependency to.
40 : ${SSL_CERT_USE:=ssl}
41
42 # @ECLASS-VARIABLE: SSL_DEPS_SKIP
43 +# @PRE_INHERIT
44 # @DESCRIPTION:
45 # Set to non zero to skip adding to DEPEND and IUSE.
46 : ${SSL_DEPS_SKIP:=0}