From: Arthur Zamarin <
arthurzam@gentoo.org>
python_has_version is preferred as it gives nicer output and safer
defaults, instead of has_version.
---
eclass/python-any-r1.eclass | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass
index 2051b5e89b81..fc66434cc6bf 100644
--- a/eclass/python-any-r1.eclass
+++ b/eclass/python-any-r1.eclass
@@ -139,7 +139,7 @@ EXPORT_FUNCTIONS pkg_setup
# Example use:
# @CODE
# python_check_deps() {
-# has_version "dev-python/foo[${PYTHON_USEDEP}]"
+# python_has_version "dev-python/foo[${PYTHON_USEDEP}]"
# }
# @CODE
#
@@ -161,7 +161,7 @@ EXPORT_FUNCTIONS pkg_setup
# Example use:
# @CODE
# python_check_deps() {
-# has_version "dev-python/bar[${PYTHON_SINGLE_USEDEP}]"
+# python_has_version "dev-python/bar[${PYTHON_SINGLE_USEDEP}]"
# }
# @CODE
#
@@ -228,9 +228,9 @@ if [[ ! ${_PYTHON_ANY_R1} ]]; then
# dev-python/baz[${PYTHON_USEDEP}] )')"
#
# python_check_deps() {
-# has_version "dev-python/foo[${PYTHON_SINGLE_USEDEP}]" \
-# && { has_version "dev-python/bar[${PYTHON_USEDEP}]" \
-# || has_