commit:     9a715df5baa7d740d46f2424577ae6cf1fd105cb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 30 05:39:39 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 30 05:43:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a715df5

dev-python/jupyter-collaboration: Bump to 2.0.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jupyter-collaboration/Manifest          |  1 +
 .../jupyter-collaboration-2.0.11.ebuild            | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/jupyter-collaboration/Manifest 
b/dev-python/jupyter-collaboration/Manifest
index a33beac6f32c..03899f77474d 100644
--- a/dev-python/jupyter-collaboration/Manifest
+++ b/dev-python/jupyter-collaboration/Manifest
@@ -1 +1,2 @@
+DIST jupyter_collaboration-2.0.11.tar.gz 4806486 BLAKE2B 
3b27291ad4d8320e146da2cbe1bdbf678c3109c56497147da9d83629cc830d0b12cc556a1379ea4db89200fabf09350d4407e5dcefa6bdbf7f6221f36ae5a7b0
 SHA512 
8e03e78388167134a13a7ea336b711f37593f1ac8dbf6fc379d5c3b160a99dc0c28f88f0da77d206624e9facd165dd0c0f0dccb3f2eca201da27236048bff435
 DIST jupyter_collaboration-2.0.5.tar.gz 4806126 BLAKE2B 
5df0d7f782f9574e9f48ea805786b8e85a71fa2938189eef31e0d674e7c173f14d388952e33529f6666cecd9754191caaaeacea30cb090452d8545a19e3951d3
 SHA512 
e1375bc0559a06596e565cfe3b9b0f9a83a95a64d8a474cf7065172f9df5b84faa4f1966867bb475610df4662205146bb5720005601bafe77790e541681a3e8d

diff --git 
a/dev-python/jupyter-collaboration/jupyter-collaboration-2.0.11.ebuild 
b/dev-python/jupyter-collaboration/jupyter-collaboration-2.0.11.ebuild
new file mode 100644
index 000000000000..622831634378
--- /dev/null
+++ b/dev-python/jupyter-collaboration/jupyter-collaboration-2.0.11.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="JupyterLab Extension enabling Real-Time Collaboration"
+HOMEPAGE="
+       https://github.com/jupyterlab/jupyter-collaboration/
+       https://pypi.org/project/jupyter-collaboration/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/pycrdt-websocket[${PYTHON_USEDEP}]
+       >=dev-python/jupyterlab-4[${PYTHON_USEDEP}]
+       >=dev-python/jupyter-ydoc-2[${PYTHON_USEDEP}]
+       dev-python/jupyter-server-fileid[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-jupyter[${PYTHON_USEDEP}]
+               dev-python/pytest-timeout[${PYTHON_USEDEP}]
+       )
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-2.0.5-no-node-for-version.patch"
+)
+
+distutils_enable_tests pytest
+
+src_install() {
+       distutils-r1_src_install
+
+       # hatchling cannot install into /etc while specifying prefix as /usr
+       mv -v "${ED}"{/usr,}/etc || die
+}

Reply via email to