Diff notebook-6.5.4-r1 with a notebook-7.0.0

/usr/portage/dev-python/notebook/notebook-7.0.0.ebuild 2023-10-09 14:52:30.316368371 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
DISTUTILS_USE_PEP517=setuptools
7
PYTHON_COMPAT=( python3_{9..11} )
6
DISTUTILS_USE_PEP517=hatchling
7
PYTHON_COMPAT=( python3_{10..11} )
8 8
PYTHON_REQ_USE="threads(+)"
9 9

  
10 10
inherit distutils-r1 pypi xdg-utils
......
14 14

  
15 15
LICENSE="BSD"
16 16
SLOT="0"
17
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
17
KEYWORDS="~amd64"
18 18

  
19 19
RDEPEND="
20
	<dev-libs/mathjax-3
21
	dev-python/argon2-cffi[${PYTHON_USEDEP}]
22
	dev-python/jinja[${PYTHON_USEDEP}]
23
	dev-python/ipykernel[${PYTHON_USEDEP}]
24
	dev-python/ipython_genutils[${PYTHON_USEDEP}]
25
	>=dev-python/jupyter-core-4.6.1[${PYTHON_USEDEP}]
26
	>=dev-python/jupyter-client-5.3.4[${PYTHON_USEDEP}]
27
	>=dev-python/nbclassic-0.4.7[${PYTHON_USEDEP}]
28
	dev-python/nbformat[${PYTHON_USEDEP}]
29
	>=dev-python/nest-asyncio-1.5[${PYTHON_USEDEP}]
30
	dev-python/prometheus-client[${PYTHON_USEDEP}]
31
	>=dev-python/pyzmq-17[${PYTHON_USEDEP}]
32
	>=dev-python/send2trash-1.8.0[${PYTHON_USEDEP}]
33
	>=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
34
	>=dev-python/tornado-6.1[${PYTHON_USEDEP}]
35
	>=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
20
	>=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}]
21
	<dev-python/jupyter-server-3[${PYTHON_USEDEP}]
22
	>=dev-python/jupyterlab-4.0.2[${PYTHON_USEDEP}]
23
	<dev-python/jupyterlab-5[${PYTHON_USEDEP}]
24
	>=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}]
25
	<dev-python/notebook-shim-0.3[${PYTHON_USEDEP}]
26
	>=dev-python/tornado-6.2.0[${PYTHON_USEDEP}]
36 27
"
37 28

  
38 29
BDEPEND="
39
	>=dev-python/jupyter-packaging-0.9[${PYTHON_USEDEP}]
40 30
	test? (
31
		dev-python/ipykernel[${PYTHON_USEDEP}]
41 32
		dev-python/nbval[${PYTHON_USEDEP}]
42 33
		dev-python/requests[${PYTHON_USEDEP}]
43 34
		dev-python/requests-unixsocket[${PYTHON_USEDEP}]
35
		dev-python/pytest-console-scripts[${PYTHON_USEDEP}]
36
		dev-python/pytest-jupyter[${PYTHON_USEDEP}]
37
		dev-python/pytest-timeout[${PYTHON_USEDEP}]
38
		dev-python/pytest-tornasync[${PYTHON_USEDEP}]
44 39
	)
45 40
"
46 41

  
47
PDEPEND=">=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]"
48

  
49 42
distutils_enable_tests pytest
50 43

  
51
EPYTEST_DESELECT=(
52
	# trash doesn't seem to work for us
53
	notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file
54
	notebook/services/contents/tests/test_contents_api.py::APITest::test_delete
55
	notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file
56
	notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete
57
	notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs
58
	notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir
59
	notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete
60
	notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete
61
	# TODO
62
	notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections
63
	notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections
64
	notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling
65
	notebook/services/nbconvert/tests/test_nbconvert_api.py::APITest::test_list_formats
66
)
67

  
68
EPYTEST_IGNORE=(
69
	# selenium tests require geckodriver
70
	notebook/tests/selenium
71
)
44
python_install_all() {
45
	distutils-r1_python_install_all
46
	mv "${ED}/usr/etc" "${ED}/etc" || die
47
}
72 48

  
73 49
pkg_postinst() {
74 50
	xdg_desktop_database_update
Thank you!