summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-04 09:03:37 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-04 09:15:13 +0200
commit9d38fd4571fe5d6e214c90e51bc1a1e78255a7a6 (patch)
tree35c955d09468317d56b748671a19118931c92b58 /eclass/python-r1.eclass
parentpython-any-r1.eclass: Mark variable classes in eclassdoc (diff)
downloadgentoo-9d38fd4571fe5d6e214c90e51bc1a1e78255a7a6.tar.gz
gentoo-9d38fd4571fe5d6e214c90e51bc1a1e78255a7a6.tar.bz2
gentoo-9d38fd4571fe5d6e214c90e51bc1a1e78255a7a6.zip
python-r1.eclass: Fix eclassdoc
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 8687b595123a..8c3ff5b08095 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -72,7 +72,8 @@ fi
# @CODE
# @ECLASS-VARIABLE: PYTHON_COMPAT_OVERRIDE
-# @INTERNAL
+# @USER_VARIABLE
+# @DEFAULT_UNSET
# @DESCRIPTION:
# This variable can be used when working with ebuilds to override
# the in-ebuild PYTHON_COMPAT. It is a string listing all
@@ -111,6 +112,7 @@ fi
# @CODE
# @ECLASS-VARIABLE: PYTHON_DEPS
+# @OUTPUT_VARIABLE
# @DESCRIPTION:
# This is an eclass-generated Python dependency string for all
# implementations listed in PYTHON_COMPAT.
@@ -130,6 +132,7 @@ fi
# @CODE
# @ECLASS-VARIABLE: PYTHON_USEDEP
+# @OUTPUT_VARIABLE
# @DESCRIPTION:
# This is an eclass-generated USE-dependency string which can be used to
# depend on another Python package being built for the same Python
@@ -150,6 +153,7 @@ fi
# @CODE
# @ECLASS-VARIABLE: PYTHON_REQUIRED_USE
+# @OUTPUT_VARIABLE
# @DESCRIPTION:
# This is an eclass-generated required-use expression which ensures at
# least one Python implementation has been enabled.
@@ -273,8 +277,8 @@ _python_validate_useflags() {
}
# @FUNCTION: _python_gen_usedep
-# @INTERNAL
# @USAGE: [<pattern>...]
+# @INTERNAL
# @DESCRIPTION:
# Output a USE dependency string for Python implementations which
# are both in PYTHON_COMPAT and match any of the patterns passed
@@ -574,6 +578,8 @@ python_gen_any_dep() {
}
# @ECLASS-VARIABLE: BUILD_DIR
+# @OUTPUT_VARIABLE
+# @DEFAULT_UNSET
# @DESCRIPTION:
# The current build directory. In global scope, it is supposed to
# contain an initial build directory; if unset, it defaults to ${S}.