diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-12-29 13:31:17 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-12-29 13:42:25 +0100 |
commit | c3c556832ad5b36da036c48b02c46d4b39372989 (patch) | |
tree | ff21c815d325934918eee16adc9234a5b92cc9df /dev-python/jupyterlab_server | |
parent | dev-python/jupyterlab-lsp: add version 3.9.3 (diff) | |
download | gentoo-c3c556832ad5b36da036c48b02c46d4b39372989.tar.gz gentoo-c3c556832ad5b36da036c48b02c46d4b39372989.tar.bz2 gentoo-c3c556832ad5b36da036c48b02c46d4b39372989.zip |
dev-python/jupyterlab_server: add version 2.10.2
Closes: https://bugs.gentoo.org/830207
Package-Manager: Portage-3.0.30, Repoman-3.0.3
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.10.2.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/jupyterlab_server/Manifest b/dev-python/jupyterlab_server/Manifest index 58274e2e0a09..68146451b87b 100644 --- a/dev-python/jupyterlab_server/Manifest +++ b/dev-python/jupyterlab_server/Manifest @@ -1 +1,2 @@ +DIST jupyterlab_server-2.10.2.tar.gz 59380 BLAKE2B 9c4e29409d255192be18d891940cb499fe8949f1734ab2fb85c5656b2498d2ca999a0e10cc0e8aee796493882774ac78b2d1b57020ba6b4013959b49f0d03a38 SHA512 1c8779d587233503ae63e54197b66c0ff21abc158ef04370db09e587a168d380948a9711676bacc88c043a8f66e0c20e0d77b26519f998583775b8dfac7c88f4 DIST jupyterlab_server-2.8.2.tar.gz 56188 BLAKE2B 8aadb2a01659151e0b2ada1fb235f4a3eee9fa1a1d6b046cbd1096c67971b1dab7d52c517f8b57b2b43c5c59b4fd37ed0a99ec75640fed6ebe3829812539fc7d SHA512 d35b8dad009f21aac6c0790e881ee4b7cc442b0762afcd10ab5fabccf417a6a4cd9ed1f54be5c3ad631823064a7c1a25112fe829b59e28ca8fc706b46c1b5603 diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.10.2.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.10.2.ebuild new file mode 100644 index 000000000000..781969734cf9 --- /dev/null +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.10.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +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[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest +# TODO: package myst_parser +#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme + +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 +} |