diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 38329 -> 38323 bytes | |||
-rw-r--r-- | eclass/distutils-r1.eclass | 2 | ||||
-rw-r--r-- | eclass/python-any-r1.eclass | 6 | ||||
-rw-r--r-- | eclass/python-r1.eclass | 11 | ||||
-rw-r--r-- | eclass/python-utils-r1.eclass | 2 |
5 files changed, 13 insertions, 8 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex a5d3079ee893..f3e4476dc263 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 658d26f2a440..91de144e1110 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -129,6 +129,8 @@ esac # # - poetry - poetry-core backend # +# - scikit-build-core - scikit-build-core backend +# # - setuptools - distutils or setuptools (incl. legacy mode) # # - sip - sipbuild backend diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 4e2e12e228ad..a21df8e89498 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -221,9 +221,9 @@ unset -f _python_any_set_globals # dev-python/baz[${PYTHON_USEDEP}] )')" # # python_check_deps() { -# 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}]"; } +# 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}]"; } # } # @CODE # 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() { diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 2fffd6d56bf5..f9c6d161d3f3 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -351,6 +351,7 @@ _python_export() { print(sysconfig.get_path("purelib")) EOF ) + PYTHON_SITEDIR=${EPREFIX}${PYTHON_SITEDIR#"${BROOT-${EPREFIX}}"} export PYTHON_SITEDIR debug-print "${FUNCNAME}: PYTHON_SITEDIR = ${PYTHON_SITEDIR}" ;; @@ -362,6 +363,7 @@ _python_export() { print(sysconfig.get_path("platinclude")) EOF ) + PYTHON_INCLUDEDIR=${ESYSROOT}${PYTHON_INCLUDEDIR#"${BROOT-${EPREFIX}}"} export PYTHON_INCLUDEDIR debug-print "${FUNCNAME}: PYTHON_INCLUDEDIR = ${PYTHON_INCLUDEDIR}" |