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:26
Message-Id: 1617156158.f87d90021b5cb2167af5fff6e4eec8c295df104d.sam@gentoo
1 commit: f87d90021b5cb2167af5fff6e4eec8c295df104d
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 00:16:08 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 02:02:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f87d9002
7
8 webapp.eclass: mark variables as @PRE_INHERIT
9
10 * WEBAPP_NO_AUTO_INSTALL
11 Modifies IUSE in global scope.
12
13 * WEBAPP_OPTIONAL
14 Modifies *DEPEND in global scope.
15
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 eclass/webapp.eclass | 4 +++-
19 1 file changed, 3 insertions(+), 1 deletion(-)
20
21 diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass
22 index b0a8f7a34d4..6907ef1c321 100644
23 --- a/eclass/webapp.eclass
24 +++ b/eclass/webapp.eclass
25 @@ -1,4 +1,4 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 +# Copyright 1999-2021 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 # @ECLASS: webapp.eclass
31 @@ -16,12 +16,14 @@
32 WEBAPP_DEPEND=">=app-admin/webapp-config-1.50.15"
33
34 # @ECLASS-VARIABLE: WEBAPP_NO_AUTO_INSTALL
35 +# @PRE_INHERIT
36 # @DESCRIPTION:
37 # An ebuild sets this to `yes' if an automatic installation and/or upgrade is
38 # not possible. The ebuild should overwrite pkg_postinst() and explain the
39 # reason for this BEFORE calling webapp_pkg_postinst().
40
41 # @ECLASS-VARIABLE: WEBAPP_OPTIONAL
42 +# @PRE_INHERIT
43 # @DESCRIPTION:
44 # An ebuild sets this to `yes' to make webapp support optional, in which case
45 # you also need to take care of USE-flags and dependencies.