Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-dev] [PATCH] readme.gentoo-r1.eclass: Document the DOC_CONTENTS variable
Date: Sat, 01 Jan 2022 11:04:56
Message-Id: 20220101110436.21857-1-ulm@gentoo.org
1 This fixes a spurious "UnusedInherits" warning from pkgcheck.
2
3 Signed-off-by: Ulrich Müller <ulm@g.o>
4 ---
5 eclass/readme.gentoo-r1.eclass | 7 ++++++-
6 1 file changed, 6 insertions(+), 1 deletion(-)
7
8 diff --git a/eclass/readme.gentoo-r1.eclass b/eclass/readme.gentoo-r1.eclass
9 index 3ad36fac2588..0d302179127b 100644
10 --- a/eclass/readme.gentoo-r1.eclass
11 +++ b/eclass/readme.gentoo-r1.eclass
12 @@ -1,4 +1,4 @@
13 -# Copyright 1999-2021 Gentoo Authors
14 +# Copyright 1999-2022 Gentoo Authors
15 # Distributed under the terms of the GNU General Public License v2
16
17 # @ECLASS: readme.gentoo-r1.eclass
18 @@ -25,6 +25,11 @@ case ${EAPI} in
19 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
20 esac
21
22 +# @ECLASS-VARIABLE: DOC_CONTENTS
23 +# @DEFAULT_UNSET
24 +# @DESCRIPTION:
25 +# The information that is used to create the README.gentoo file.
26 +
27 # @ECLASS-VARIABLE: DISABLE_AUTOFORMATTING
28 # @DEFAULT_UNSET
29 # @DESCRIPTION:
30 --
31 2.34.1

Replies