commit:     6cc41bab19c96e2bf1456389fd368f98ba16605c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 15 15:40:39 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 20 16:56:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cc41bab

distutils-r1.eclass: Update scikit-build-core to 0.9.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/distutils-r1.eclass | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index a8f9817a3cf0..3aa2c8984ab2 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -279,7 +279,7 @@ _distutils_set_globals() {
                                ;;
                        scikit-build-core)
                                bdep+='
-                                       
>=dev-python/scikit-build-core-0.8.2[${PYTHON_USEDEP}]
+                                       
>=dev-python/scikit-build-core-0.9.4[${PYTHON_USEDEP}]
                                '
                                ;;
                        setuptools)
@@ -1457,8 +1457,6 @@ distutils_pep517_install() {
                                "${DISTUTILS_ARGS[@]}"
                        )
 
-                       # NB: we need to pass strings for boolean fields
-                       # 
https://github.com/scikit-build/scikit-build-core/issues/707
                        config_settings=$(
                                "${EPYTHON}" - "${cmake_args[@]}" <<-EOF || die
                                        import json
@@ -1466,8 +1464,8 @@ distutils_pep517_install() {
                                        print(json.dumps({
                                                "cmake.args": 
";".join(sys.argv[1:]),
                                                "cmake.build-type": 
"${CMAKE_BUILD_TYPE}",
-                                               "cmake.verbose": "true",
-                                               "install.strip": "false",
+                                               "cmake.verbose": True,
+                                               "install.strip": False,
                                        }))
                                EOF
                        )

Reply via email to