diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 39030 -> 39024 bytes | |||
-rw-r--r-- | eclass/distutils-r1.eclass | 14 | ||||
-rw-r--r-- | eclass/python-utils-r1.eclass | 2 |
3 files changed, 10 insertions, 6 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex 1e72330ee07f..f8f717c50371 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 357e64e6f75c..c2d7e7eb8d06 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -271,7 +271,7 @@ _distutils_set_globals() { ;; maturin) bdep+=' - >=dev-util/maturin-1.4.0[${PYTHON_USEDEP}] + >=dev-util/maturin-1.7.4[${PYTHON_USEDEP}] ' ;; no) @@ -1257,13 +1257,20 @@ distutils_pep517_install() { cmd+=( cargo_env ) fi + # set it globally in case we were using "standalone" wrapper + local -x HATCH_METADATA_CLASSIFIERS_NO_VERIFY=1 + local -x GENTOO_VALIDATE_PYPROJECT_NO_TROVE_CLASSIFIERS=1 + if in_iuse debug && use debug; then + local -x SETUPTOOLS_RUST_CARGO_PROFILE=dev + fi + case ${DISTUTILS_USE_PEP517} in maturin) # `maturin pep517 build-wheel --help` for options local maturin_args=( "${DISTUTILS_ARGS[@]}" + --auditwheel=skip # see bug #831171 --jobs="$(makeopts_jobs)" - --skip-auditwheel # see bug #831171 $(in_iuse debug && usex debug '--profile=dev' '') ) @@ -1348,9 +1355,6 @@ distutils_pep517_install() { ) ;; setuptools) - if in_iuse debug && use debug; then - local -x SETUPTOOLS_RUST_CARGO_PROFILE=dev - fi if [[ -n ${DISTUTILS_ARGS[@]} ]]; then config_settings=$( "${EPYTHON}" - "${DISTUTILS_ARGS[@]}" <<-EOF || die diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 555b6c561a18..aa22b164020c 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -40,8 +40,8 @@ inherit multiprocessing toolchain-funcs # All supported Python implementations, most preferred last. _PYTHON_ALL_IMPLS=( pypy3 - python3_{10..13} python3_13t + python3_{10..13} ) readonly _PYTHON_ALL_IMPLS |