summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-11 18:04:35 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-11 18:42:06 +0100
commit19aaf2733895869eb379cb107ae9d933c1c770d0 (patch)
tree646952a4a3e45eef50171203c1a6bdcbb6f6d5fa /dev-python/jupyter-server-terminals
parentdev-python/ansi2html: Bump to 1.9.1 (diff)
downloadgentoo-19aaf2733895869eb379cb107ae9d933c1c770d0.tar.gz
gentoo-19aaf2733895869eb379cb107ae9d933c1c770d0.tar.bz2
gentoo-19aaf2733895869eb379cb107ae9d933c1c770d0.zip
dev-python/jupyter-server-terminals: Bump to 0.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jupyter-server-terminals')
-rw-r--r--dev-python/jupyter-server-terminals/Manifest1
-rw-r--r--dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/jupyter-server-terminals/Manifest b/dev-python/jupyter-server-terminals/Manifest
index e8e5545fa08c..561326d9642d 100644
--- a/dev-python/jupyter-server-terminals/Manifest
+++ b/dev-python/jupyter-server-terminals/Manifest
@@ -1 +1,2 @@
DIST jupyter_server_terminals-0.4.4.tar.gz 29850 BLAKE2B 064876d7a10e7ff66da83e07d562abe53d609caeb27bcd7b7181d10c06af4406ee048b45b73092c8f3b0c10df40494eca1edb5234030154c63ea6a330f85a115 SHA512 5b1a6a9cfd550108be7f6664eac5ab7581d75e78a7dfc9825af2346b0d9b19f05543dcce010dafb9554c0782bf8e7929bf0ef96bdf2db392ab9b9ec1a3633fdd
+DIST jupyter_server_terminals-0.5.0.tar.gz 30616 BLAKE2B b2cbfab34850cf64c7d0793dc8703d99a40f34437e5222cc310d888306ff8228ff4a04602666a174bed91eb22232e28bdd8963180b8a92c75b3190676d08e65e SHA512 398419590bfad09846dd4f283896962af772700f6bf43b2cd3c2516830a9693ce4f383a9e3620e9d5613985f4d60c0758fad8961e7ba023f7f5b73200679ee25
diff --git a/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.0.ebuild b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.0.ebuild
new file mode 100644
index 000000000000..efc117cc37ff
--- /dev/null
+++ b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.0.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=( pypy3 python3_{10..12} )
+
+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 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+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
+}