commit: bea2580bad608f1084d0768bfa6255d110851dba
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 19 18:25:15 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 18:28:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bea2580b
python-r1.eclass: Expand `use doc` check in example for readability
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
eclass/python-r1.eclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 303737e41589..fbc6082a1d92 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -692,7 +692,8 @@ python_foreach_impl() {
# $(python_gen_any_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' 'python2*')
)"
#
# python_check_deps() {
-# use !doc || python_has_version "dev-python/epydoc[${PYTHON_USEDEP}]"
+# ! use doc && return 0
+# python_has_version "dev-python/epydoc[${PYTHON_USEDEP}]"
# }
#
# src_compile() {