diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-06-10 15:39:29 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-06-10 16:29:59 +0200 |
commit | 861d6f2f47a811b85c717e64e292f88cdff446cd (patch) | |
tree | d4a933e1f339c3a8f354a24240035b152341b099 /dev-python/jupyterlab_server | |
parent | dev-python/openapi-core: new package, add 0.14.2 (diff) | |
download | gentoo-861d6f2f47a811b85c717e64e292f88cdff446cd.tar.gz gentoo-861d6f2f47a811b85c717e64e292f88cdff446cd.tar.bz2 gentoo-861d6f2f47a811b85c717e64e292f88cdff446cd.zip |
dev-python/jupyterlab_server: add 2.14.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
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.14.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/jupyterlab_server/Manifest b/dev-python/jupyterlab_server/Manifest index 43a454876c50..6d4fd77fb486 100644 --- a/dev-python/jupyterlab_server/Manifest +++ b/dev-python/jupyterlab_server/Manifest @@ -1 +1,2 @@ DIST jupyterlab_server-2.13.0.tar.gz 63896 BLAKE2B 4dd1f643cc68c9676ebab347a6ea01a58176a35d45262174e66c2e5b49881b21aa24692996d0622b96d0453793d04164f6eba710c2d7a31420ce12e52ac2c7fd SHA512 b7243c77765c811bce8ba82a612c034da22aa8ac7bc889a5d246a7db283bca29bf555f4ca849b8615c28d3d4cab57fbf08b0a15e08e045e9032792805cee59f8 +DIST jupyterlab_server-2.14.0.tar.gz 62704 BLAKE2B 93277a6880a9395622e6c0ec1da9522c5e30e7a8144c8629de89f45845964008f0a435ec84289efe56043c8ebb998ea65df1d09f3da72096f255fcafa29fab53 SHA512 21ecf749879663378d865bd06161fb3e331f3675038917e405df0cb77d4a4cec55340a35d6511676fa4d91ecaedcd1e7f8aec3a13ad3a39298d10911ab215cc6 diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.14.0.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.14.0.ebuild new file mode 100644 index 000000000000..ec49d91d6512 --- /dev/null +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.14.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 + +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" +HOMEPAGE="https://jupyter.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/Babel[${PYTHON_USEDEP}] + >=dev-python/importlib_metadata-3.6[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + dev-python/json5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.8[${PYTHON_USEDEP}] + <dev-python/jupyter_server-2[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter_server[${PYTHON_USEDEP}] + dev-python/openapi-core[${PYTHON_USEDEP}] + dev-python/openapi-spec-validator[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${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_prepare_all() { + # This seems to not work for us, can only find english + rm tests/test_translation_api.py || die + + # Do not depend on pytest-cov + sed -i -e '/addopts/d' pyproject.toml || die + + distutils-r1_python_prepare_all +} |