From 63aaf5061b4676f2ca331c1168fb2c74fc894ad0 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 21 Apr 2022 16:43:06 +0200 Subject: distutils-r1.eclass: Support flit_scm backend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'eclass') 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 ;; -- cgit v1.2.3-65-gdbad