diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-08 23:17:32 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-08 23:18:10 +0200 |
commit | 5e71a7b4758583fbc3f269b56dd2317ce3e59d4a (patch) | |
tree | f505699f58f6046d271db5fc4831f119f1ae1e4c /eclass/distutils-r1.eclass | |
parent | dev-python/fonttools: Bump to 4.32.0 (diff) | |
download | gentoo-5e71a7b4758583fbc3f269b56dd2317ce3e59d4a.tar.gz gentoo-5e71a7b4758583fbc3f269b56dd2317ce3e59d4a.tar.bz2 gentoo-5e71a7b4758583fbc3f269b56dd2317ce3e59d4a.zip |
distutils-r1.eclass: Recognize jupyter PEP517 backend
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/distutils-r1.eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 02d8bf547cba..05cd5dc52004 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 ;; |