commit: 83c6599b5cefe7061327cd2af1a192efb5d52e67
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 10:48:05 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon May 2 10:56:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c6599b
dev-python/nbclassic: add 0.3.7
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/nbclassic/Manifest | 1 +
dev-python/nbclassic/nbclassic-0.3.7.ebuild | 37 +++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/dev-python/nbclassic/Manifest b/dev-python/nbclassic/Manifest
index 9aecf6d5f3b5..51772bd28775 100644
--- a/dev-python/nbclassic/Manifest
+++ b/dev-python/nbclassic/Manifest
@@ -1 +1,2 @@
DIST nbclassic-0.3.5.tar.gz 22668 BLAKE2B
d7e74e1274294e9d0d8888d0ccb2718fd02d73eca22d29b3b944a1886f4b7dfd8c7ee893239856790f0b7e84e3c9102c27fa12cd06be8a4015b0197e3516d41a
SHA512
a3b5b0b4f11be93adee4f8669127de0b1a5c9d38fedefbb924b7b446db9f0e7e0987b17f62f7d831d7a2dd87de605a2300973735a4d2b8cefbbcbab8403a3d1c
+DIST nbclassic-0.3.7.tar.gz 15973 BLAKE2B
a26a975fa8711c41a199e0b88b5ec83aefa4b812fce6ab4a765aa4920fae6b863519dbae556d663bf761a866a26ee6fe7c322c947312b89770a34f2a5b570455
SHA512
3ceaeeafa7e56d17cda29e4c86b4cb5f44517721b47e41ad1ac535704b8f460d88a5feb280ad8a9cef78366581e08c94837cab4ef2eae8dbce2ded183a787ea2
diff --git a/dev-python/nbclassic/nbclassic-0.3.7.ebuild
b/dev-python/nbclassic/nbclassic-0.3.7.ebuild
new file mode 100644
index 000000000000..1e6c6948383c
--- /dev/null
+++ b/dev-python/nbclassic/nbclassic-0.3.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=jupyter
+inherit distutils-r1
+
+DESCRIPTION="Jupyter Notebook as a Jupyter Server Extension"
+HOMEPAGE="https://jupyter.org/"
+SRC_URI="https://github.com/jupyterlab/nbclassic/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/jupyter_server-1.8[${PYTHON_USEDEP}]
+ <dev-python/notebook-7[${PYTHON_USEDEP}]
+ >=dev-python/notebook_shim-0.1.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/pytest-console-scripts[${PYTHON_USEDEP}]
+ dev-python/pytest-tornasync[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ distutils-r1_python_install_all
+ # move /usr/etc stuff to /etc
+ mv "${ED}/usr/etc" "${ED}/etc" || die
+}