summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-19 20:25:15 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-19 20:28:11 +0200
commitbea2580bad608f1084d0768bfa6255d110851dba (patch)
tree9089bdc1b8cf65608ad4218f2f9e35a83b1f44b4 /eclass/python-r1.eclass
parentpython{,-any}-r1.eclass: use python_has_version in examples (diff)
downloadgentoo-bea2580bad608f1084d0768bfa6255d110851dba.tar.gz
gentoo-bea2580bad608f1084d0768bfa6255d110851dba.tar.bz2
gentoo-bea2580bad608f1084d0768bfa6255d110851dba.zip
python-r1.eclass: Expand `use doc` check in example for readability
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass3
1 files changed, 2 insertions, 1 deletions
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() {