diff options
Diffstat (limited to 'dev-python/jupyterlab-server')
-rw-r--r-- | dev-python/jupyterlab-server/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jupyterlab-server/jupyterlab-server-2.27.3.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/jupyterlab-server/Manifest b/dev-python/jupyterlab-server/Manifest index da1a5f390103..f80976699e63 100644 --- a/dev-python/jupyterlab-server/Manifest +++ b/dev-python/jupyterlab-server/Manifest @@ -1 +1,2 @@ DIST jupyterlab_server-2.27.2.tar.gz 75817 BLAKE2B fff1e7e274d500c8a0dc9c7c7edd6630c9587b758ad40184917e9bf3d32ba95d0e4b3b8ea5b47a359100e09779f846f97bf197d0094d148c8431c9fc8c839329 SHA512 621e1d4816301fc7c9276b5c2a2448803f79c43775cd9559399a38c9c24020ccaa2adf680cf769f769f87dbcc185bc28753c9f5130e08429b9866f32ce32dc8c +DIST jupyterlab_server-2.27.3.tar.gz 76173 BLAKE2B 628947c066f432148e52726439743379f36c78da29d0b7596402f3ea619bc8c03a36017c130cf4700c1659a6e2ba25c28b02aaf529fc071291252dbbee3615fc SHA512 b4d2e91da8c92896958bb2adcb844d8a48f1b8df1ab8c3ff81511d0f3488c27f70f67c9f8731181fbc27836652e805efa869123ccb4d59d1098cd283a4fbcd10 diff --git a/dev-python/jupyterlab-server/jupyterlab-server-2.27.3.ebuild b/dev-python/jupyterlab-server/jupyterlab-server-2.27.3.ebuild new file mode 100644 index 000000000000..065acd24571b --- /dev/null +++ b/dev-python/jupyterlab-server/jupyterlab-server-2.27.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab_server/ + https://pypi.org/project/jupyterlab-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/Babel-2.10[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/json5-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.18.0[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.31[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter-server[${PYTHON_USEDEP}] + >=dev-python/openapi-core-0.18[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.6[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO: package autodoc_traits +#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst-parser + +python_test() { + local EPYTEST_IGNORE=( + tests/test_translation_api.py + ) + + EPYTEST_DESELECT=( + # Fails if terminal not available + tests/test_labapp.py::test_page_config + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_tornasync.plugin -p timeout +} |