mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 00:51:41 +02:00
eclass/python-r1: Sync with Gentoo
It's from Gentoo commit bea2580bad608f1084d0768bfa6255d110851dba.
This commit is contained in:
parent
2a689273b5
commit
a2118dda7b
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user