distutils-r1.eclass: Update scikit-build-core options

Once again switch to the newer scikit-build-core `build.verbose` option
to fix compatibility with packages requiring the newer version, and let
us stop patching ebuilds.  Upstream fixed the behavior to allow using
newer options in `config_settings`.

Bug: https://github.com/scikit-build/scikit-build-core/issues/912
Pull-Request: https://github.com/scikit-build/scikit-build-core/pull/1054
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/43299
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-02 20:05:51 +02:00
parent afc9b2fcc4
commit 7297f99fe2

View File

@@ -292,7 +292,7 @@ _distutils_set_globals() {
;;
scikit-build-core)
bdep+='
>=dev-python/scikit-build-core-0.10.7[${PYTHON_USEDEP}]
>=dev-python/scikit-build-core-0.11.5[${PYTHON_USEDEP}]
'
;;
setuptools)
@@ -1145,9 +1145,9 @@ distutils_pep517_install() {
ninjaopts = shlex.split(os.environ["NINJAOPTS"])
print(json.dumps({
"build.tool-args": ninjaopts,
"build.verbose": True,
"cmake.args": ";".join(sys.argv[1:]),
"cmake.build-type": "${CMAKE_BUILD_TYPE}",
"cmake.verbose": True,
"install.strip": False,
}))
EOF