commit: 63aaf5061b4676f2ca331c1168fb2c74fc894ad0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 14:43:06 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 15:19:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63aaf506
distutils-r1.eclass: Support flit_scm backend
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
eclass/distutils-r1.eclass | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 7a7bdb4a4d39..b65906dcbf84 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -98,6 +98,8 @@ esac
#
# - flit - flit_core backend
#
+# - flit_scm - flit_scm backend
+#
# - hatchling - hatchling backend (from hatch)
#
# - jupyter - jupyter_packaging backend
@@ -198,6 +200,10 @@ _distutils_set_globals() {
bdep+='
>=dev-python/flit_core-3.7.1[${PYTHON_USEDEP}]'
;;
+ flit_scm)
+ bdep+='
+ dev-python/flit_scm[${PYTHON_USEDEP}]'
+ ;;
hatchling)
bdep+='
>=dev-python/hatchling-0.22.0[${PYTHON_USEDEP}]'
@@ -977,6 +983,9 @@ _distutils-r1_backend_to_key() {
flit_core.buildapi|flit.buildapi)
echo flit
;;
+ flit_scm:buildapi)
+ echo flit_scm
+ ;;
hatchling.build)
echo hatchling
;;