commit: 78a4eb8f5530b4a15de7e15746d2c4d7976410e4 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Mon Feb 21 18:56:34 2022 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Mon Feb 21 19:02:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78a4eb8f
dev-python/jupyterlab_server: add version 2.10.3 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> dev-python/jupyterlab_server/Manifest | 1 + .../jupyterlab_server-2.10.3.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/jupyterlab_server/Manifest b/dev-python/jupyterlab_server/Manifest index 68146451b87b..73e8c23a6836 100644 --- a/dev-python/jupyterlab_server/Manifest +++ b/dev-python/jupyterlab_server/Manifest @@ -1,2 +1,3 @@ DIST jupyterlab_server-2.10.2.tar.gz 59380 BLAKE2B 9c4e29409d255192be18d891940cb499fe8949f1734ab2fb85c5656b2498d2ca999a0e10cc0e8aee796493882774ac78b2d1b57020ba6b4013959b49f0d03a38 SHA512 1c8779d587233503ae63e54197b66c0ff21abc158ef04370db09e587a168d380948a9711676bacc88c043a8f66e0c20e0d77b26519f998583775b8dfac7c88f4 +DIST jupyterlab_server-2.10.3.tar.gz 59522 BLAKE2B c8cc4270ef6fbb2c07cb78b4213024c4967c90caad3753d7a505d4f1b0a1fb30ee7610e193a0cb0cf2473ba28f5e149774a70c57d3b2a4aa536efe705fe9a4d7 SHA512 54ffde95b13da103472e54311710953f1f2b3e30262c303cee64f1eb69d22930bf889f4a417e09d765c13a035ca3542865c0ee7b7530c5e4300d6bf59fce3264 DIST jupyterlab_server-2.8.2.tar.gz 56188 BLAKE2B 8aadb2a01659151e0b2ada1fb235f4a3eee9fa1a1d6b046cbd1096c67971b1dab7d52c517f8b57b2b43c5c59b4fd37ed0a99ec75640fed6ebe3829812539fc7d SHA512 d35b8dad009f21aac6c0790e881ee4b7cc442b0762afcd10ab5fabccf417a6a4cd9ed1f54be5c3ad631823064a7c1a25112fe829b59e28ca8fc706b46c1b5603 diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.10.3.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.10.3.ebuild new file mode 100644 index 000000000000..a052c2fbd539 --- /dev/null +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.10.3.ebuild @@ -0,0 +1,44 @@ +# 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=setuptools +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" + +# TODO: package openapi et al +RESTRICT="test" + +RDEPEND=" + dev-python/Babel[${PYTHON_USEDEP}] + >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10[${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.4[${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() { + # Do not depend on pytest-cov + sed -i -e '/addopts/d' pyproject.toml || die + + # Defining 'pytest_plugins' in a non-top-level conftest is no longer supported: + mv ${PN}/tests/conftest.py . || die + + distutils-r1_python_prepare_all +}