commit:     f4c06e790a220f38509b7d47f26cc932e0e662e9
Author:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 11 14:48:07 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Sat Oct 11 14:50:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c06e79

dev-python/spyder-notebook: add 0.7.0

Closes: https://bugs.gentoo.org/961274
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

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

diff --git a/dev-python/spyder-notebook/Manifest 
b/dev-python/spyder-notebook/Manifest
index 45f9df7f077e..ca20f7ab4eae 100644
--- a/dev-python/spyder-notebook/Manifest
+++ b/dev-python/spyder-notebook/Manifest
@@ -1 +1,2 @@
 DIST spyder_notebook-0.6.2.tar.gz 7270229 BLAKE2B 
85ec279a10adfc965d3da324a399d9f627626611fbafd3f0b2c8a16a5b7a6740b5ec6b5417de4704007599967b06279876d7547227277ed6be0f26f28591462b
 SHA512 
e2bd545b14d90461cc30c4a1cffdae81bff4791be1d3b770c614369fb10bbbfaea9098089226c5333ab2cb8cb6d162254929d9dbd81faa305da93faf1192dc8f
+DIST spyder_notebook-0.7.0.tar.gz 7813912 BLAKE2B 
aa66e985e4b34574605b4fd72c645d4b00492d73584dfa65e4099e8d924d4023918aaf2108e469a87b4e2f310e49c4c221e564237adeff622281e7d07616c54b
 SHA512 
c83a4f2a33a1086d62c9d64f19e5e4f5915072be6396ef041fe783469893e2f90f7f0998e997de785d3dd0a2230c1a8ac5d215cfda084fa17dbe93da76445c52

diff --git a/dev-python/spyder-notebook/spyder-notebook-0.7.0.ebuild 
b/dev-python/spyder-notebook/spyder-notebook-0.7.0.ebuild
new file mode 100644
index 000000000000..b93681485b00
--- /dev/null
+++ b/dev-python/spyder-notebook/spyder-notebook-0.7.0.ebuild
@@ -0,0 +1,58 @@
+# 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"
+
+RDEPEND="
+       dev-python/nbformat[${PYTHON_USEDEP}]
+       >=dev-python/notebook-7.4.7[${PYTHON_USEDEP}]
+       <dev-python/notebook-7.5[${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.1[${PYTHON_USEDEP}]
+       <dev-python/spyder-6.2[${PYTHON_USEDEP}]
+       dev-python/tornado[${PYTHON_USEDEP}]
+       dev-python/traitlets[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               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