From 5e71a7b4758583fbc3f269b56dd2317ce3e59d4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 8 Apr 2022 23:17:32 +0200 Subject: [PATCH] distutils-r1.eclass: Recognize jupyter PEP517 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 02d8bf547cba5..05cd5dc520049 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -100,6 +100,8 @@ esac # # - hatchling - hatchling backend (from hatch) # +# - jupyter - jupyter_packaging backend (uses setuptools internally) +# # - pdm - pdm.pep517 backend # # - poetry - poetry-core backend @@ -200,6 +202,12 @@ _distutils_set_globals() { bdep+=' dev-python/hatchling[${PYTHON_USEDEP}]' ;; + jupyter) + bdep+=' + dev-python/jupyter_packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-60.5.0[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}]' + ;; pdm) bdep+=' dev-python/pdm-pep517[${PYTHON_USEDEP}]' @@ -927,6 +935,9 @@ _distutils-r1_backend_to_key() { hatchling.build) echo hatchling ;; + jupyter_packaging.build_api) + echo jupyter + ;; pdm.pep517.api) echo pdm ;;