summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-05-15 17:40:39 +0200
committerMichał Górny <mgorny@gentoo.org>2024-05-20 18:56:45 +0200
commit6cc41bab19c96e2bf1456389fd368f98ba16605c (patch)
treed69bbeff5ee0d7752aa2d6f92c4ed2e75ee764d1 /eclass/distutils-r1.eclass
parentpython-utils-r1.eclass: Support passing EPYTEST_FLAGS (diff)
downloadgentoo-6cc41bab19c96e2bf1456389fd368f98ba16605c.tar.gz
gentoo-6cc41bab19c96e2bf1456389fd368f98ba16605c.tar.bz2
gentoo-6cc41bab19c96e2bf1456389fd368f98ba16605c.zip
distutils-r1.eclass: Update scikit-build-core to 0.9.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r--eclass/distutils-r1.eclass8
1 files 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
)