mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
distutils-r1.eclass: Recognize jupyter PEP517 backend
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user