summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-09-22 05:00:55 +0200
committerMichał Górny <mgorny@gentoo.org>2023-09-22 05:11:03 +0200
commitdf01cab67d3195d13b69a8cb4ec541c22319c009 (patch)
tree766e7b7e8d2bf782d3fe3aab7f5e87be884e209c /dev-python
parentpackage.mask: Mask dev-python/setuptools-scm-8.0.1 (diff)
downloadgentoo-df01cab67d3195d13b69a8cb4ec541c22319c009.tar.gz
gentoo-df01cab67d3195d13b69a8cb4ec541c22319c009.tar.bz2
gentoo-df01cab67d3195d13b69a8cb4ec541c22319c009.zip
dev-python/jupyter-ydoc: Bump to 1.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jupyter-ydoc/Manifest1
-rw-r--r--dev-python/jupyter-ydoc/jupyter-ydoc-1.1.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/jupyter-ydoc/Manifest b/dev-python/jupyter-ydoc/Manifest
index 4eb404d3ef72..aa35be1f3807 100644
--- a/dev-python/jupyter-ydoc/Manifest
+++ b/dev-python/jupyter-ydoc/Manifest
@@ -1 +1,2 @@
DIST jupyter_ydoc-1.0.2.gh.tar.gz 983893 BLAKE2B 2066efe6a48bae692be978c12c879e211f62f5e6544832ab6f8c96077a45362acef1857f575f87a67730cd3bb35d3805022a402881d6919fce45464d7fdcb83e SHA512 895fc7e96f3ec9aa4451763cbeb77e4e389c8193098329c1b97ff3dab13bcf8beb2a5c5300cebe5a8d574ffdccbc1526e591b1230421fd58f276aedc4e83927c
+DIST jupyter_ydoc-1.1.0.gh.tar.gz 983787 BLAKE2B fbd21faa59d0016234ad8fc71e1146ab788a79a7e8282b736c963d6d8758de3bb212b0ac71017ae1702c2db23cd93d47c532eeda9306e5027b76683044d10d0f SHA512 f4e64c933d279f593e1b3010ef9e51080b26570cef65dc2f5e19ecf28878c64b73f29255f748b048099b17ed4e220650fe9148ff505208e5e17453f1aa626649
diff --git a/dev-python/jupyter-ydoc/jupyter-ydoc-1.1.0.ebuild b/dev-python/jupyter-ydoc/jupyter-ydoc-1.1.0.ebuild
new file mode 100644
index 000000000000..91c65f7bf3af
--- /dev/null
+++ b/dev-python/jupyter-ydoc/jupyter-ydoc-1.1.0.ebuild
@@ -0,0 +1,49 @@
+# 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_{10..11} )
+
+inherit distutils-r1
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Document structures for collaborative editing using Ypy"
+HOMEPAGE="
+ https://jupyter.org/
+ https://github.com/jupyter-server/jupyter_ydoc/
+ https://pypi.org/project/jupyter-ydoc/
+"
+SRC_URI="
+ https://github.com/jupyter-server/jupyter_ydoc/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Requires node
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-python/y-py-0.6.0[${PYTHON_USEDEP}]
+ <dev-python/y-py-0.7.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ >=dev-python/websockets-10.0[${PYTHON_USEDEP}]
+ <dev-python/ypy-websocket-0.9.0[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-no-node-for-version.patch"
+)
+
+distutils_enable_tests pytest
+# Hangs for some reason
+#distutils_enable_sphinx docs/source dev-python/myst-parser dev-python/pydata-sphinx-theme