summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-02-13 13:30:26 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-02-13 13:30:26 +0100
commitb42be63f28dbfd62e47720d55071fc772e9369a6 (patch)
tree8acccbc617afef1420efe33332ded5f0b07c0bb2 /dev-python
parentdev-python/jupyter_server_mathjax: add missing test dep (diff)
downloadgentoo-b42be63f28dbfd62e47720d55071fc772e9369a6.tar.gz
gentoo-b42be63f28dbfd62e47720d55071fc772e9369a6.tar.bz2
gentoo-b42be63f28dbfd62e47720d55071fc772e9369a6.zip
dev-python/jupyter-server-terminals: new package, add 0.4.4
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jupyter-server-terminals/Manifest1
-rw-r--r--dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild45
-rw-r--r--dev-python/jupyter-server-terminals/metadata.xml13
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/jupyter-server-terminals/Manifest b/dev-python/jupyter-server-terminals/Manifest
new file mode 100644
index 000000000000..e8e5545fa08c
--- /dev/null
+++ b/dev-python/jupyter-server-terminals/Manifest
@@ -0,0 +1 @@
+DIST jupyter_server_terminals-0.4.4.tar.gz 29850 BLAKE2B 064876d7a10e7ff66da83e07d562abe53d609caeb27bcd7b7181d10c06af4406ee048b45b73092c8f3b0c10df40494eca1edb5234030154c63ea6a330f85a115 SHA512 5b1a6a9cfd550108be7f6664eac5ab7581d75e78a7dfc9825af2346b0d9b19f05543dcce010dafb9554c0782bf8e7929bf0ef96bdf2db392ab9b9ec1a3633fdd
diff --git a/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild
new file mode 100644
index 000000000000..892be06b65ef
--- /dev/null
+++ b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.4.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A Jupyter Server Extension Providing Terminals"
+HOMEPAGE="
+ https://jupyter.org/
+ https://github.com/jupyter-server/jupyter_server_terminals/
+ https://pypi.org/project/jupyter-server-terminals/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/terminado[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/jupyter_server[${PYTHON_USEDEP}]
+ dev-python/pytest_jupyter[${PYTHON_USEDEP}]
+ dev-python/pytest-timeout[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_DESELECT=(
+ # Fails if shell is not bash
+ tests/test_terminal.py::test_terminal_create_with_cwd
+ tests/test_terminal.py::test_terminal_create_with_relative_cwd
+)
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ distutils-r1_python_install_all
+ mv "${ED}/usr/etc" "${ED}/etc" || die
+}
diff --git a/dev-python/jupyter-server-terminals/metadata.xml b/dev-python/jupyter-server-terminals/metadata.xml
new file mode 100644
index 000000000000..94455bab1f48
--- /dev/null
+++ b/dev-python/jupyter-server-terminals/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://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-terminals</remote-id>
+ <remote-id type="github">jupyter-server/jupyter_server_terminals</remote-id>
+ </upstream>
+</pkgmetadata>