distutils-r1.eclass: Recognize jupyter PEP517 backend

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-04-08 23:17:32 +02:00
parent 8ee29debbe
commit 5e71a7b475

View File

@@ -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
;;