1 |
commit: 5e71a7b4758583fbc3f269b56dd2317ce3e59d4a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 21:17:32 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 21:18:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e71a7b4 |
7 |
|
8 |
distutils-r1.eclass: Recognize jupyter PEP517 backend |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
eclass/distutils-r1.eclass | 11 +++++++++++ |
13 |
1 file changed, 11 insertions(+) |
14 |
|
15 |
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass |
16 |
index 02d8bf547cba..05cd5dc52004 100644 |
17 |
--- a/eclass/distutils-r1.eclass |
18 |
+++ b/eclass/distutils-r1.eclass |
19 |
@@ -100,6 +100,8 @@ esac |
20 |
# |
21 |
# - hatchling - hatchling backend (from hatch) |
22 |
# |
23 |
+# - jupyter - jupyter_packaging backend (uses setuptools internally) |
24 |
+# |
25 |
# - pdm - pdm.pep517 backend |
26 |
# |
27 |
# - poetry - poetry-core backend |
28 |
@@ -200,6 +202,12 @@ _distutils_set_globals() { |
29 |
bdep+=' |
30 |
dev-python/hatchling[${PYTHON_USEDEP}]' |
31 |
;; |
32 |
+ jupyter) |
33 |
+ bdep+=' |
34 |
+ dev-python/jupyter_packaging[${PYTHON_USEDEP}] |
35 |
+ >=dev-python/setuptools-60.5.0[${PYTHON_USEDEP}] |
36 |
+ dev-python/wheel[${PYTHON_USEDEP}]' |
37 |
+ ;; |
38 |
pdm) |
39 |
bdep+=' |
40 |
dev-python/pdm-pep517[${PYTHON_USEDEP}]' |
41 |
@@ -927,6 +935,9 @@ _distutils-r1_backend_to_key() { |
42 |
hatchling.build) |
43 |
echo hatchling |
44 |
;; |
45 |
+ jupyter_packaging.build_api) |
46 |
+ echo jupyter |
47 |
+ ;; |
48 |
pdm.pep517.api) |
49 |
echo pdm |
50 |
;; |