diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-06-10 11:05:14 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-06-10 11:58:14 +0200 |
commit | 41d5ecbc7041215bcf06df3bc14826fbbed4a680 (patch) | |
tree | 6fd71fa17133bf58e1e0b705567554cde92f423f /dev-python | |
parent | dev-python/anyio: import from ::guru (diff) | |
download | gentoo-41d5ecbc7041215bcf06df3bc14826fbbed4a680.tar.gz gentoo-41d5ecbc7041215bcf06df3bc14826fbbed4a680.tar.bz2 gentoo-41d5ecbc7041215bcf06df3bc14826fbbed4a680.zip |
dev-python/jupyter_server: add new dep of nbdime
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/jupyter_server/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jupyter_server/jupyter_server-1.8.0.ebuild | 57 | ||||
-rw-r--r-- | dev-python/jupyter_server/metadata.xml | 13 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest new file mode 100644 index 000000000000..cddf518ea5ab --- /dev/null +++ b/dev-python/jupyter_server/Manifest @@ -0,0 +1 @@ +DIST jupyter_server-1.8.0.tar.gz 408312 BLAKE2B db385085a1a660d707cc84570627e754dc19105af5157bc42e259822c9e98364ab77a9a16403d9b43757a6e175102632e83dd21466dff3487101771b51fdeb5f SHA512 3c4c9d64b7f0e26a79b38bc95106e062f1c363a13fc3b32c3897bbb15a7d91a64e46926b35c07f8c5bd440f55e3d01ec57c54c8b244969b6af7f7e18347030cd diff --git a/dev-python/jupyter_server/jupyter_server-1.8.0.ebuild b/dev-python/jupyter_server/jupyter_server-1.8.0.ebuild new file mode 100644 index 000000000000..2bd30f3b5c3a --- /dev/null +++ b/dev-python/jupyter_server/jupyter_server-1.8.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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" + +# This appears to require pytest-jupyter, but the GitHub repo for that package +# is archived and it has been removed from pypi. +RESTRICT="test" + +RDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] + >=www-servers/tornado-6.1[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/ipython_genutils[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.6.0[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +# TODO: Package 'myst_parser' +# distutils_enable_sphinx docs/source \ +# dev-python/pydata-sphinx-theme +distutils_enable_tests --install pytest + +python_prepare_all() { + # Defining 'pytest_plugins' in a non-top-level conftest is no longer supported: + rm jupyter_server/tests/conftest.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/jupyter_server/metadata.xml b/dev-python/jupyter_server/metadata.xml new file mode 100644 index 000000000000..aeec4a4a1a84 --- /dev/null +++ b/dev-python/jupyter_server/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">jupyter-server</remote-id> + <remote-id type="github">jupyter-server/jupyter_server</remote-id> + </upstream> +</pkgmetadata> |