1 |
commit: 83c6599b5cefe7061327cd2af1a192efb5d52e67 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 10:48:05 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 10:56:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c6599b |
7 |
|
8 |
dev-python/nbclassic: add 0.3.7 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/nbclassic/Manifest | 1 + |
13 |
dev-python/nbclassic/nbclassic-0.3.7.ebuild | 37 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/nbclassic/Manifest b/dev-python/nbclassic/Manifest |
17 |
index 9aecf6d5f3b5..51772bd28775 100644 |
18 |
--- a/dev-python/nbclassic/Manifest |
19 |
+++ b/dev-python/nbclassic/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST nbclassic-0.3.5.tar.gz 22668 BLAKE2B d7e74e1274294e9d0d8888d0ccb2718fd02d73eca22d29b3b944a1886f4b7dfd8c7ee893239856790f0b7e84e3c9102c27fa12cd06be8a4015b0197e3516d41a SHA512 a3b5b0b4f11be93adee4f8669127de0b1a5c9d38fedefbb924b7b446db9f0e7e0987b17f62f7d831d7a2dd87de605a2300973735a4d2b8cefbbcbab8403a3d1c |
22 |
+DIST nbclassic-0.3.7.tar.gz 15973 BLAKE2B a26a975fa8711c41a199e0b88b5ec83aefa4b812fce6ab4a765aa4920fae6b863519dbae556d663bf761a866a26ee6fe7c322c947312b89770a34f2a5b570455 SHA512 3ceaeeafa7e56d17cda29e4c86b4cb5f44517721b47e41ad1ac535704b8f460d88a5feb280ad8a9cef78366581e08c94837cab4ef2eae8dbce2ded183a787ea2 |
23 |
|
24 |
diff --git a/dev-python/nbclassic/nbclassic-0.3.7.ebuild b/dev-python/nbclassic/nbclassic-0.3.7.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..1e6c6948383c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/nbclassic/nbclassic-0.3.7.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+DISTUTILS_USE_PEP517=jupyter |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Jupyter Notebook as a Jupyter Server Extension" |
40 |
+HOMEPAGE="https://jupyter.org/" |
41 |
+SRC_URI="https://github.com/jupyterlab/nbclassic/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-python/jupyter_server-1.8[${PYTHON_USEDEP}] |
49 |
+ <dev-python/notebook-7[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/notebook_shim-0.1.0[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ test? ( |
55 |
+ dev-python/pytest-console-scripts[${PYTHON_USEDEP}] |
56 |
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+python_install_all() { |
63 |
+ distutils-r1_python_install_all |
64 |
+ # move /usr/etc stuff to /etc |
65 |
+ mv "${ED}/usr/etc" "${ED}/etc" || die |
66 |
+} |