diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-03-07 15:02:00 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2023-03-07 15:07:48 +0100 |
commit | dc28794bbb795c8335ef2fb71669f0526c248494 (patch) | |
tree | c865ae51155cc1a1202d87a33ae2dc31b35d8dcd /dev-python/jupyter_server | |
parent | sys-fs/udiskie: update SRC_URI (diff) | |
download | gentoo-dc28794bbb795c8335ef2fb71669f0526c248494.tar.gz gentoo-dc28794bbb795c8335ef2fb71669f0526c248494.tar.bz2 gentoo-dc28794bbb795c8335ef2fb71669f0526c248494.zip |
dev-python/jupyter_server: add 2.4.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/jupyter_server')
-rw-r--r-- | dev-python/jupyter_server/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jupyter_server/jupyter_server-2.4.0.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest index 68b1edbf81e3..5b2761b7862f 100644 --- a/dev-python/jupyter_server/Manifest +++ b/dev-python/jupyter_server/Manifest @@ -1,3 +1,4 @@ DIST jupyter_server-1.19.1.tar.gz 453411 BLAKE2B 800231e7e7ddfcf2a2c2f2725971983d754c76940623ce000e6b86ad503bc6ca68a27e55ca3766193e58184a7148471464dfa9c27076e53ac84b176b8ff65897 SHA512 f4228c73950e49fe26add11c61f3de425b963726908a2df7dae21bb38b986c2ebb6abfc3319ef9e3acbc2fef9579a1a70ac594920985977adf580a082d272368 DIST jupyter_server-2.2.1.tar.gz 689208 BLAKE2B 27989736fd8cdc2dbfd48967c44966d3ef013f2def1e7aa7b8b76fdfdcbb4de9b22c7c910d6250413ee95e1279f4e0abaa460b8cbce58cabe43ca49ebc3c47f5 SHA512 6baa1fed933a7600e52c9e13ce6ae22556ebe6cb153218b174b1c26f5ff2662870d14bac18c719be358d68185863fadf00d672470f033b4883f18b98b56f842c DIST jupyter_server-2.3.0.tar.gz 690143 BLAKE2B 06dcd78ecc55817600200ebbf03d152284818336fbd0c9abd46d716cbab750979a716e28d8a0eef757445f90102afb48e003ed1cec0c63898b52e88f295bce8a SHA512 a4769e79eed0f75b97db9affd6612bff28d873f9b75179a873c098511c914c1e3cd758e0b0c9192b7f8d6c221e16eaf07729b70e4fa95f5d8a8825dc5fd67d35 +DIST jupyter_server-2.4.0.tar.gz 693740 BLAKE2B c50a06f1ebe1479c126c2a10ac7f58f012f97f8d565f1705b5d8080ff854a387a6bbcba65785652988a1adc3575009ea0b68e48b7cda8bbd89b5208e1a6d0612 SHA512 c5ceb6caa37c6d8bb5b3026f450bdfc92c37cb5a350541fa35764eeb33007918b2aa55b41108703477efe68f7d5e4f4ba3fea51cd203f3f3c0b74ba3bed6e1c5 diff --git a/dev-python/jupyter_server/jupyter_server-2.4.0.ebuild b/dev-python/jupyter_server/jupyter_server-2.4.0.ebuild new file mode 100644 index 000000000000..4f06cd4cc603 --- /dev/null +++ b/dev-python/jupyter_server/jupyter_server-2.4.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server/ + https://pypi.org/project/jupyter-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-7.4.4[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-5.1.0[${PYTHON_USEDEP}] + dev-python/jupyter-server-terminals[${PYTHON_USEDEP}] + >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension +) + +PATCHES=( + "${FILESDIR}/${PN}-2.0.1-skip-npm.patch" +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout +} |