summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-04-21 16:43:06 +0200
committerMichał Górny <mgorny@gentoo.org>2022-04-21 17:19:37 +0200
commit63aaf5061b4676f2ca331c1168fb2c74fc894ad0 (patch)
treeae81ccf4861058b3ff742814571cc5544cf1d8c3 /eclass
parentdev-python/flit_scm: New package, v1.5.0 (diff)
downloadgentoo-63aaf5061b4676f2ca331c1168fb2c74fc894ad0.tar.gz
gentoo-63aaf5061b4676f2ca331c1168fb2c74fc894ad0.tar.bz2
gentoo-63aaf5061b4676f2ca331c1168fb2c74fc894ad0.zip
distutils-r1.eclass: Support flit_scm backend
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/distutils-r1.eclass9
1 files changed, 9 insertions, 0 deletions
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
;;