dev-python/jupyter_server: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-03-16 19:11:20 +01:00
parent cd19a78ac7
commit 63f963a5d8
2 changed files with 0 additions and 77 deletions
-1
View File
@@ -1,2 +1 @@
DIST jupyter_server-1.19.1.tar.gz 453411 BLAKE2B 800231e7e7ddfcf2a2c2f2725971983d754c76940623ce000e6b86ad503bc6ca68a27e55ca3766193e58184a7148471464dfa9c27076e53ac84b176b8ff65897 SHA512 f4228c73950e49fe26add11c61f3de425b963726908a2df7dae21bb38b986c2ebb6abfc3319ef9e3acbc2fef9579a1a70ac594920985977adf580a082d272368
DIST jupyter_server-2.4.0.tar.gz 693740 BLAKE2B c50a06f1ebe1479c126c2a10ac7f58f012f97f8d565f1705b5d8080ff854a387a6bbcba65785652988a1adc3575009ea0b68e48b7cda8bbd89b5208e1a6d0612 SHA512 c5ceb6caa37c6d8bb5b3026f450bdfc92c37cb5a350541fa35764eeb33007918b2aa55b41108703477efe68f7d5e4f4ba3fea51cd203f3f3c0b74ba3bed6e1c5
@@ -1,76 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=jupyter
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications"
HOMEPAGE="https://jupyter.org"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
>=dev-python/anyio-3.1.0[${PYTHON_USEDEP}]
<dev-python/anyio-4[${PYTHON_USEDEP}]
dev-python/argon2-cffi[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
>=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}]
>=dev-python/jupyter_core-4.7.0[${PYTHON_USEDEP}]
>=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}]
>=dev-python/nbformat-5.2.0[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/prometheus_client[${PYTHON_USEDEP}]
>=dev-python/pyzmq-17[${PYTHON_USEDEP}]
dev-python/send2trash[${PYTHON_USEDEP}]
>=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
>=dev-python/tornado-6.1[${PYTHON_USEDEP}]
>=dev-python/traitlets-5.1[${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-timeout[${PYTHON_USEDEP}]
dev-python/pytest-tornasync[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
)
"
distutils_enable_sphinx docs/source \
dev-python/pydata-sphinx-theme \
dev-python/myst-parser \
dev-python/ipython \
dev-python/sphinxemoji \
dev-python/sphinxcontrib-github-alt \
dev-python/sphinxcontrib-openapi
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# This fails if your terminal is zsh (and maybe other non-bash as well?)
tests/test_terminal.py::test_culling
tests/test_terminal.py::test_terminal_create_with_cwd
tests/test_terminal.py::test_terminal_create_with_relative_cwd
)
src_prepare() {
# disable npm use
sed -i -e '/\[tool\.jupyter-packaging\.builder\]/,+1d' pyproject.toml || die
distutils-r1_src_prepare
}
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
}