commit:     aa1b963cc5eb12379ee3b4340e4fd1bbd1592d6f
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 16 08:59:37 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Wed Apr 16 08:59:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1b963c

dev-python/spyder-notebook: add 0.6.2

Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/spyder-notebook/Manifest                |  1 +
 .../spyder-notebook/spyder-notebook-0.6.2.ebuild   | 59 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/spyder-notebook/Manifest 
b/dev-python/spyder-notebook/Manifest
index fdfeac6f691a..be5a711930af 100644
--- a/dev-python/spyder-notebook/Manifest
+++ b/dev-python/spyder-notebook/Manifest
@@ -1 +1,2 @@
 DIST spyder_notebook-0.6.1.tar.gz 7118143 BLAKE2B 
d1893d96f91fb192eba13342edf67089ffa664b152b7777f3e626f8541ea2a2b7a20f1b73d72b55c2107abe02870cb63ee17b535dd13a3db882971b8c11eac33
 SHA512 
2bb7e4d1c4255cfb385e80bb46b3de7ae6c7fd4d4cdc27188cd530699cbc4654d2ace6e8341bc47b029d3e757dd860e2b0a65c2f00a91ae589032de86330cd84
+DIST spyder_notebook-0.6.2.tar.gz 7270229 BLAKE2B 
85ec279a10adfc965d3da324a399d9f627626611fbafd3f0b2c8a16a5b7a6740b5ec6b5417de4704007599967b06279876d7547227277ed6be0f26f28591462b
 SHA512 
e2bd545b14d90461cc30c4a1cffdae81bff4791be1d3b770c614369fb10bbbfaea9098089226c5333ab2cb8cb6d162254929d9dbd81faa305da93faf1192dc8f

diff --git a/dev-python/spyder-notebook/spyder-notebook-0.6.2.ebuild 
b/dev-python/spyder-notebook/spyder-notebook-0.6.2.ebuild
new file mode 100644
index 000000000000..dd81bfdf6016
--- /dev/null
+++ b/dev-python/spyder-notebook/spyder-notebook-0.6.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 pypi virtualx
+
+DESCRIPTION="Jupyter notebook integration with Spyder"
+HOMEPAGE="https://github.com/spyder-ide/spyder-notebook";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+       dev-python/nbformat[${PYTHON_USEDEP}]
+       >=dev-python/notebook-7.3.3[${PYTHON_USEDEP}]
+       <dev-python/notebook-7.4[${PYTHON_USEDEP}]
+       dev-python/psutil[${PYTHON_USEDEP}]
+       dev-python/qdarkstyle[${PYTHON_USEDEP}]
+       dev-python/qtpy[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       >=dev-python/spyder-6[${PYTHON_USEDEP}]
+       <dev-python/spyder-7[${PYTHON_USEDEP}]
+       dev-python/tornado[${PYTHON_USEDEP}]
+       dev-python/traitlets[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               dev-python/flaky[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               dev-python/pytest-qt[${PYTHON_USEDEP}]
+       )
+"
+
+DOCS=( "README.md" "CHANGELOG.md" )
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # Hangs
+       spyder_notebook/widgets/tests/test_main_widget.py::test_save_notebook
+       spyder_notebook/widgets/tests/test_main_widget.py::test_new_notebook
+       # Fails in sandbox
+       spyder_notebook/tests/test_plugin.py::test_open_console_when_no_kernel
+       
spyder_notebook/widgets/tests/test_main_widget.py::test_shutdown_notebook_kernel
+       
spyder_notebook/widgets/tests/test_main_widget.py::test_file_in_temp_dir_deleted_after_notebook_closed
+       # Some missing file
+       
spyder_notebook/widgets/tests/test_main_widget.py::test_open_notebook_in_non_ascii_dir
+       
spyder_notebook/widgets/tests/test_main_widget.py::test_close_nonexisting_notebook
+)
+
+python_test() {
+       virtx epytest
+}

Reply via email to