summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-01-23 05:31:08 +0100
committerMichał Górny <mgorny@gentoo.org>2024-01-23 05:38:51 +0100
commitec97df2256ba6cf712b2192a7d0ac665cc0a6d2b (patch)
treef713cd4465a49508f2ba85249a1bb7b928185d00 /dev-python/jupyter-server-terminals
parentdev-python/pyopenssl: Bump to 24.0.0 (diff)
downloadgentoo-ec97df2256ba6cf712b2192a7d0ac665cc0a6d2b.tar.gz
gentoo-ec97df2256ba6cf712b2192a7d0ac665cc0a6d2b.tar.bz2
gentoo-ec97df2256ba6cf712b2192a7d0ac665cc0a6d2b.zip
dev-python/jupyter-server-terminals: Bump to 0.5.2
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.2.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 b170f9101993..5d9be7e7abc1 100644
--- a/dev-python/jupyter-server-terminals/Manifest
+++ b/dev-python/jupyter-server-terminals/Manifest
@@ -1 +1,2 @@
DIST jupyter_server_terminals-0.5.1.tar.gz 30742 BLAKE2B 616be4e82e7650f3dd9c2031bd2607315d0f906bd7556d442bb0d6b277c4ef88c1d4856557a2bad62cff16322e00d28412fd3132e5a9372b5d463ca67b75d24e SHA512 e3006e61aa712675bcdcf85dcb1f775da8064b8a621d852f51063707ebe3462ffe75efbb646dd76075d9ee075b80458290a075f502f270487b9390ba3f6881c5
+DIST jupyter_server_terminals-0.5.2.tar.gz 31168 BLAKE2B 9a99f15b801b3a347ed694ee5c2ed91118d95683523645f326a851c65c7cdb389d5343cd992bbcdde49fe495fbcfd88088ebe5a35350a164313adcfe5d7a08e6 SHA512 333a19e647767e800d93376b45850263350400eed77036ca42637bef48a753696b3d3d3ad5153da40d858a623bb2ee616e636caa77e484a45da46f5f5eb32df0
diff --git a/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.2.ebuild b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.2.ebuild
new file mode 100644
index 000000000000..ca60468dcee9
--- /dev/null
+++ b/dev-python/jupyter-server-terminals/jupyter-server-terminals-0.5.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 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
+}