diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-19 21:39:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-19 21:39:30 +0100 |
commit | 78df2aa7ae35e69cd91f555197f771fcd59f196c (patch) | |
tree | 74b00805c302ea46f233ca348e39733649e52840 /eclass/python-r1.eclass | |
parent | 3b882b15eed3bb219b5f340b63733c8cda643079 (diff) |
gentoo auto-resync : 19:08:2023 - 21:39:30
Diffstat (limited to 'eclass/python-r1.eclass')
-rw-r--r-- | eclass/python-r1.eclass | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index b816e3b6f855..fbc6082a1d92 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -156,7 +156,7 @@ inherit multibuild python-utils-r1 # Example use: # @CODE # python_check_deps() { -# has_version "dev-python/bar[${PYTHON_SINGLE_USEDEP}]" +# python_has_version "dev-python/bar[${PYTHON_SINGLE_USEDEP}]" # } # @CODE # @@ -474,9 +474,9 @@ python_gen_impl_dep() { # dev-python/baz[${PYTHON_USEDEP}] )' -2)" # # python_check_deps() { -# has_version "dev-python/foo[${PYTHON_SINGLE_USEDEP}]" \ -# && { has_version "dev-python/bar[${PYTHON_USEDEP}]" \ -# || has_version "dev-python/baz[${PYTHON_USEDEP}]"; } +# python_has_version "dev-python/foo[${PYTHON_SINGLE_USEDEP}]" && +# { python_has_version "dev-python/bar[${PYTHON_USEDEP}]" || +# python_has_version "dev-python/baz[${PYTHON_USEDEP}]"; } # } # # src_compile() { @@ -692,7 +692,8 @@ python_foreach_impl() { # $(python_gen_any_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' 'python2*') )" # # python_check_deps() { -# has_version "dev-python/epydoc[${PYTHON_USEDEP}]" +# ! use doc && return 0 +# python_has_version "dev-python/epydoc[${PYTHON_USEDEP}]" # } # # src_compile() { |