summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-26 21:39:23 +0100
committerMichał Górny <mgorny@gentoo.org>2021-03-28 12:22:37 +0200
commit7b270ccd7a7de5e125637d1b54fc7b459621a8e6 (patch)
tree0b4ecbd102c6dd6d94937ad3aa5fb215ceef6570 /eclass/python-r1.eclass
parentdistutils-r1.eclass: Update eclassdoc for BDEPEND (diff)
downloadgentoo-7b270ccd7a7de5e125637d1b54fc7b459621a8e6.tar.gz
gentoo-7b270ccd7a7de5e125637d1b54fc7b459621a8e6.tar.bz2
gentoo-7b270ccd7a7de5e125637d1b54fc7b459621a8e6.zip
python-r1.eclass: Update examples to use BDEPEND
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r--eclass/python-r1.eclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 5e9dafe63d85..f7beb3006499 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -121,7 +121,7 @@ fi
# @CODE
# RDEPEND="${PYTHON_DEPS}
# dev-foo/mydep"
-# DEPEND="${RDEPEND}"
+# BDEPEND="${PYTHON_DEPS}"
# @CODE
#
# Example value:
@@ -357,12 +357,12 @@ _python_gen_usedep() {
# Example:
# @CODE
# PYTHON_COMPAT=( python{2_7,3_4} )
-# DEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
+# BDEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
# @CODE
#
# It will cause the dependency to look like:
# @CODE
-# DEPEND="doc? ( dev-python/epydoc[python_targets_python2_7?] )"
+# BDEPEND="doc? ( dev-python/epydoc[python_targets_python2_7?] )"
# @CODE
python_gen_usedep() {
debug-print-function ${FUNCNAME} "${@}"
@@ -548,7 +548,7 @@ python_gen_impl_dep() {
#
# Example use:
# @CODE
-# DEPEND="$(python_gen_any_dep '
+# BDEPEND="$(python_gen_any_dep '
# dev-python/foo[${PYTHON_SINGLE_USEDEP}]
# || ( dev-python/bar[${PYTHON_USEDEP}]
# dev-python/baz[${PYTHON_USEDEP}] )' -2)"
@@ -739,7 +739,7 @@ python_foreach_impl() {
#
# Pure mode example:
# @CODE
-# DEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
+# BDEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] )"
# REQUIRED_USE="doc? ( $(python_gen_useflags 'python2*') )"
#
# src_compile() {
@@ -753,7 +753,7 @@ python_foreach_impl() {
#
# Any-of mode example:
# @CODE
-# DEPEND="doc? (
+# BDEPEND="doc? (
# $(python_gen_any_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' 'python2*') )"
#
# python_check_deps() {