Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 04 Jul 2020 07:15:51
Message-Id: 1593846914.992e4fce31ae9d88e2f6e13d24287cc8b8771255.mgorny@gentoo
1 commit: 992e4fce31ae9d88e2f6e13d24287cc8b8771255
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 4 07:04:43 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 4 07:15:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=992e4fce
7
8 python-single-r1.eclass: Fix eclassdoc
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/python-single-r1.eclass | 10 ++++++++--
13 1 file changed, 8 insertions(+), 2 deletions(-)
14
15 diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass
16 index d516e362969..6fedc7cdf4e 100644
17 --- a/eclass/python-single-r1.eclass
18 +++ b/eclass/python-single-r1.eclass
19 @@ -80,7 +80,8 @@ EXPORT_FUNCTIONS pkg_setup
20 # @CODE
21
22 # @ECLASS-VARIABLE: PYTHON_COMPAT_OVERRIDE
23 -# @INTERNAL
24 +# @USER_VARIABLE
25 +# @DEFAULT_UNSET
26 # @DESCRIPTION:
27 # This variable can be used when working with ebuilds to override
28 # the in-ebuild PYTHON_COMPAT. It is a string naming the implementation
29 @@ -119,6 +120,7 @@ EXPORT_FUNCTIONS pkg_setup
30 # @CODE
31
32 # @ECLASS-VARIABLE: PYTHON_DEPS
33 +# @OUTPUT_VARIABLE
34 # @DESCRIPTION:
35 # This is an eclass-generated Python dependency string for all
36 # implementations listed in PYTHON_COMPAT.
37 @@ -140,6 +142,7 @@ EXPORT_FUNCTIONS pkg_setup
38 # @CODE
39
40 # @ECLASS-VARIABLE: PYTHON_SINGLE_USEDEP
41 +# @OUTPUT_VARIABLE
42 # @DESCRIPTION:
43 # This is an eclass-generated USE-dependency string which can be used to
44 # depend on another python-single-r1 package being built for the same
45 @@ -159,6 +162,7 @@ EXPORT_FUNCTIONS pkg_setup
46 # @CODE
47
48 # @ECLASS-VARIABLE: PYTHON_USEDEP
49 +# @OUTPUT_VARIABLE
50 # @DESCRIPTION:
51 # This is a placeholder variable supported by python_gen_cond_dep,
52 # in order to depend on python-r1 packages built for the same Python
53 @@ -177,11 +181,13 @@ EXPORT_FUNCTIONS pkg_setup
54 # @CODE
55
56 # @ECLASS-VARIABLE: PYTHON_MULTI_USEDEP
57 +# @OUTPUT_VARIABLE
58 # @DESCRIPTION:
59 # This is a backwards-compatibility placeholder. Use PYTHON_USEDEP
60 # instead.
61
62 # @ECLASS-VARIABLE: PYTHON_REQUIRED_USE
63 +# @OUTPUT_VARIABLE
64 # @DESCRIPTION:
65 # This is an eclass-generated required-use expression which ensures
66 # that exactly one PYTHON_SINGLE_TARGET value has been enabled.
67 @@ -266,8 +272,8 @@ unset -f _python_single_set_globals
68 if [[ ! ${_PYTHON_SINGLE_R1} ]]; then
69
70 # @FUNCTION: _python_gen_usedep
71 -# @INTERNAL
72 # @USAGE: [<pattern>...]
73 +# @INTERNAL
74 # @DESCRIPTION:
75 # Output a USE dependency string for Python implementations which
76 # are both in PYTHON_COMPAT and match any of the patterns passed