summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-09-09 14:55:02 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-09-09 15:39:11 +0200
commitc3ddae5abb59b6f40907b5f33aa0239ba2c2f634 (patch)
treeb5de8c5d036a46e535c2a95aae8224d455fff620 /dev-python/jupyterlab_server
parentdev-python/json5: import from ::sci (diff)
downloadgentoo-c3ddae5abb59b6f40907b5f33aa0239ba2c2f634.tar.gz
gentoo-c3ddae5abb59b6f40907b5f33aa0239ba2c2f634.tar.bz2
gentoo-c3ddae5abb59b6f40907b5f33aa0239ba2c2f634.zip
dev-python/jupyterlab_server: import from ::sci
Package-Manager: Portage-3.0.22, 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/Manifest1
-rw-r--r--dev-python/jupyterlab_server/jupyterlab_server-2.7.2.ebuild44
-rw-r--r--dev-python/jupyterlab_server/metadata.xml13
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/jupyterlab_server/Manifest b/dev-python/jupyterlab_server/Manifest
new file mode 100644
index 00000000000..e263568f7ac
--- /dev/null
+++ b/dev-python/jupyterlab_server/Manifest
@@ -0,0 +1 @@
+DIST jupyterlab_server-2.7.2.tar.gz 54056 BLAKE2B d8cee398053237d3289dde30ae8baae78590cd248591111624f1d853e077cb327f4d2d775a8ecca2333bc8c84afa1737a394334ce3805aea8bfdf80152970549 SHA512 7183a0bb3c02bd0788ca02604f1e8e5d068218be506634547ba44f18ff4ae7cad7b0c724f106ad23ee476260377cfe418e6b0d57ee25584b5f6a6c33e01df92d
diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.7.2.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.7.2.ebuild
new file mode 100644
index 00000000000..781969734cf
--- /dev/null
+++ b/dev-python/jupyterlab_server/jupyterlab_server-2.7.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
+}
diff --git a/dev-python/jupyterlab_server/metadata.xml b/dev-python/jupyterlab_server/metadata.xml
new file mode 100644
index 00000000000..06c8896d05e
--- /dev/null
+++ b/dev-python/jupyterlab_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">jupyterlab-server</remote-id>
+ <remote-id type="github">jupyterlab/jupyterlab_server</remote-id>
+ </upstream>
+</pkgmetadata>