commit: 5b29e5b1a393c21db9974de5c2d01e6dc482d4b9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 07:14:19 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 15:06:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b29e5b1
distutils-r1.eclass: Add scikit-build-core backend
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
eclass/distutils-r1.eclass | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 9251fd3e2220..d602cf40c812 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -264,6 +264,11 @@ _distutils_set_globals() {
>=dev-python/poetry-core-1.6.1[${PYTHON_USEDEP}]
'
;;
+ scikit-build-core)
+ bdep+='
+
>=dev-python/scikit-build-core-0.4.6[${PYTHON_USEDEP}]
+ '
+ ;;
setuptools)
bdep+='
>=dev-python/setuptools-67.7.2[${PYTHON_USEDEP}]
@@ -1002,6 +1007,11 @@ _distutils-r1_print_package_versions() {
dev-python/poetry-core
)
;;
+ scikit-build-core)
+ packages+=(
+ dev-python/scikit-build-core
+ )
+ ;;
setuptools)
packages+=(
dev-python/setuptools
@@ -1200,6 +1210,9 @@ _distutils-r1_backend_to_key() {
poetry.core.masonry.api|poetry.masonry.api)
echo poetry
;;
+ scikit_build_core.build)
+ echo scikit-build-core
+ ;;
setuptools.build_meta|setuptools.build_meta:__legacy__)
echo setuptools
;;