public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-ydoc/, dev-python/jupyter-ydoc/files/
@ 2023-07-20 10:47 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2023-07-20 10:47 UTC (permalink / raw
  To: gentoo-commits

commit:     04398adcfc4524ea27108afa76ecbea3d108ee33
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 20 10:38:49 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Jul 20 10:47:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04398adc

dev-python/jupyter-ydoc: add 1.0.2

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/jupyter-ydoc/Manifest                   |  1 +
 .../jupyter-ydoc-1.0.2-no-node-for-version.patch   | 30 +++++++++++++
 dev-python/jupyter-ydoc/jupyter-ydoc-1.0.2.ebuild  | 49 ++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/dev-python/jupyter-ydoc/Manifest b/dev-python/jupyter-ydoc/Manifest
index 0544517f7a1b..0784921b09f0 100644
--- a/dev-python/jupyter-ydoc/Manifest
+++ b/dev-python/jupyter-ydoc/Manifest
@@ -1 +1,2 @@
 DIST jupyter_ydoc-1.0.0.gh.tar.gz 985632 BLAKE2B 6e4456d3eb96f40e4703d7a1413d62d82497ff46fa15c3e0c6a9dd6544cdbddf5cb5b24d87e135170af643bc45b6b88a0a5f5a3fd03986d85f8428b5f12c4b85 SHA512 7cf8f37fb28ce1b0cf02e5e2db642e6fd5debbf5cb6a119b5291ea2930b177d5f17d7236e105891e828e2c0a4ced3c06cb4e78a1b6c2c318e2674fa5da2a8b8b
+DIST jupyter_ydoc-1.0.2.gh.tar.gz 983893 BLAKE2B 2066efe6a48bae692be978c12c879e211f62f5e6544832ab6f8c96077a45362acef1857f575f87a67730cd3bb35d3805022a402881d6919fce45464d7fdcb83e SHA512 895fc7e96f3ec9aa4451763cbeb77e4e389c8193098329c1b97ff3dab13bcf8beb2a5c5300cebe5a8d574ffdccbc1526e591b1230421fd58f276aedc4e83927c

diff --git a/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.2-no-node-for-version.patch b/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.2-no-node-for-version.patch
new file mode 100644
index 000000000000..bfd138ce0d66
--- /dev/null
+++ b/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.2-no-node-for-version.patch
@@ -0,0 +1,30 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 6e0a069..42f76c1 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -2,12 +2,12 @@
+ # Distributed under the terms of the Modified BSD License.
+ 
+ [build-system]
+-requires = ["hatchling>=1.10.0", "hatch-nodejs-version"]
++requires = ["hatchling>=1.10.0"]
+ build-backend = "hatchling.build"
+ 
+ [project]
+ name = "jupyter-ydoc"
+-dynamic = ["version"]
++version = "1.0.2"
+ description = "Document structures for collaborative editing using Ypy"
+ requires-python = ">=3.7"
+ keywords = ["jupyter", "ypy"]
+@@ -56,10 +56,6 @@ text = "BSD 3-Clause License"
+ Homepage = "https://jupyter.org"
+ Source = "https://github.com/jupyter-server/jupyter_ydoc"
+ 
+-[tool.hatch.version]
+-source = "nodejs"
+-path = "javascript/package.json"
+-
+ [tool.hatch.build]
+ exclude = ["javascript", "!javascript/package.json"]
+ 

diff --git a/dev-python/jupyter-ydoc/jupyter-ydoc-1.0.2.ebuild b/dev-python/jupyter-ydoc/jupyter-ydoc-1.0.2.ebuild
new file mode 100644
index 000000000000..91c65f7bf3af
--- /dev/null
+++ b/dev-python/jupyter-ydoc/jupyter-ydoc-1.0.2.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-ydoc/, dev-python/jupyter-ydoc/files/
@ 2023-07-24 11:32 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2023-07-24 11:32 UTC (permalink / raw
  To: gentoo-commits

commit:     a8472fb441396b3eb13a715265ad7d209678b6f6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 11:19:06 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 11:32:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8472fb4

dev-python/jupyter-ydoc: Remove old

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

 dev-python/jupyter-ydoc/Manifest                   |  1 -
 .../jupyter-ydoc-1.0.0-no-node-for-version.patch   | 30 -------------
 dev-python/jupyter-ydoc/jupyter-ydoc-1.0.0.ebuild  | 49 ----------------------
 3 files changed, 80 deletions(-)

diff --git a/dev-python/jupyter-ydoc/Manifest b/dev-python/jupyter-ydoc/Manifest
index 0784921b09f0..4eb404d3ef72 100644
--- a/dev-python/jupyter-ydoc/Manifest
+++ b/dev-python/jupyter-ydoc/Manifest
@@ -1,2 +1 @@
-DIST jupyter_ydoc-1.0.0.gh.tar.gz 985632 BLAKE2B 6e4456d3eb96f40e4703d7a1413d62d82497ff46fa15c3e0c6a9dd6544cdbddf5cb5b24d87e135170af643bc45b6b88a0a5f5a3fd03986d85f8428b5f12c4b85 SHA512 7cf8f37fb28ce1b0cf02e5e2db642e6fd5debbf5cb6a119b5291ea2930b177d5f17d7236e105891e828e2c0a4ced3c06cb4e78a1b6c2c318e2674fa5da2a8b8b
 DIST jupyter_ydoc-1.0.2.gh.tar.gz 983893 BLAKE2B 2066efe6a48bae692be978c12c879e211f62f5e6544832ab6f8c96077a45362acef1857f575f87a67730cd3bb35d3805022a402881d6919fce45464d7fdcb83e SHA512 895fc7e96f3ec9aa4451763cbeb77e4e389c8193098329c1b97ff3dab13bcf8beb2a5c5300cebe5a8d574ffdccbc1526e591b1230421fd58f276aedc4e83927c

diff --git a/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.0-no-node-for-version.patch b/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.0-no-node-for-version.patch
deleted file mode 100644
index 2195a0d60e0b..000000000000
--- a/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.0-no-node-for-version.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/pyproject.toml b/pyproject.toml
-index 6e0a069..42f76c1 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -2,12 +2,12 @@
- # Distributed under the terms of the Modified BSD License.
- 
- [build-system]
--requires = ["hatchling>=1.10.0", "hatch-nodejs-version"]
-+requires = ["hatchling>=1.10.0"]
- build-backend = "hatchling.build"
- 
- [project]
- name = "jupyter-ydoc"
--dynamic = ["version"]
-+version = "1.0.0"
- description = "Document structures for collaborative editing using Ypy"
- requires-python = ">=3.7"
- keywords = ["jupyter", "ypy"]
-@@ -56,10 +56,6 @@ text = "BSD 3-Clause License"
- Homepage = "https://jupyter.org"
- Source = "https://github.com/jupyter-server/jupyter_ydoc"
- 
--[tool.hatch.version]
--source = "nodejs"
--path = "javascript/package.json"
--
- [tool.hatch.build]
- exclude = ["javascript", "!javascript/package.json"]
- 

diff --git a/dev-python/jupyter-ydoc/jupyter-ydoc-1.0.0.ebuild b/dev-python/jupyter-ydoc/jupyter-ydoc-1.0.0.ebuild
deleted file mode 100644
index 4610b51cb25a..000000000000
--- a/dev-python/jupyter-ydoc/jupyter-ydoc-1.0.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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
-
-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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-ydoc/, dev-python/jupyter-ydoc/files/
@ 2024-03-24 13:40 Benda XU
  0 siblings, 0 replies; 3+ messages in thread
From: Benda XU @ 2024-03-24 13:40 UTC (permalink / raw
  To: gentoo-commits

commit:     4ce335aa6e799fa18e70b7be7a9ec90ffb96c605
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 02:57:24 2024 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 13:37:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce335aa

dev-python/jupyter-ydoc: revive with version 2.0.1.

It is a dependency of jupyterlab real time collaboration extension.

Bug: https://bugs.gentoo.org/915824
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-python/jupyter-ydoc/Manifest                   |  1 +
 .../jupyter-ydoc-1.0.2-no-node-for-version.patch   | 30 ++++++++++++++
 dev-python/jupyter-ydoc/jupyter-ydoc-2.0.1.ebuild  | 48 ++++++++++++++++++++++
 dev-python/jupyter-ydoc/metadata.xml               | 13 ++++++
 4 files changed, 92 insertions(+)

diff --git a/dev-python/jupyter-ydoc/Manifest b/dev-python/jupyter-ydoc/Manifest
new file mode 100644
index 000000000000..fc75f7181210
--- /dev/null
+++ b/dev-python/jupyter-ydoc/Manifest
@@ -0,0 +1 @@
+DIST jupyter_ydoc-2.0.1.gh.tar.gz 984325 BLAKE2B bd15590f7eb9865304ae51931a8bb5a730959b1231a4c538b350c5d41f9891386158b18a75a744fff379edf2deea557d8fd26e5de6fcef7dddb39055e57fc883 SHA512 cd4c78f98578e349e18ca7d51b57cdd281f4e092c24bd152138c06158b484b9de2b44e37e43bbca55055575a37ecae7fc7c7032a0ca4bcd874abf15b815ad5d2

diff --git a/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.2-no-node-for-version.patch b/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.2-no-node-for-version.patch
new file mode 100644
index 000000000000..bfd138ce0d66
--- /dev/null
+++ b/dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.2-no-node-for-version.patch
@@ -0,0 +1,30 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 6e0a069..42f76c1 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -2,12 +2,12 @@
+ # Distributed under the terms of the Modified BSD License.
+ 
+ [build-system]
+-requires = ["hatchling>=1.10.0", "hatch-nodejs-version"]
++requires = ["hatchling>=1.10.0"]
+ build-backend = "hatchling.build"
+ 
+ [project]
+ name = "jupyter-ydoc"
+-dynamic = ["version"]
++version = "1.0.2"
+ description = "Document structures for collaborative editing using Ypy"
+ requires-python = ">=3.7"
+ keywords = ["jupyter", "ypy"]
+@@ -56,10 +56,6 @@ text = "BSD 3-Clause License"
+ Homepage = "https://jupyter.org"
+ Source = "https://github.com/jupyter-server/jupyter_ydoc"
+ 
+-[tool.hatch.version]
+-source = "nodejs"
+-path = "javascript/package.json"
+-
+ [tool.hatch.build]
+ exclude = ["javascript", "!javascript/package.json"]
+ 

diff --git a/dev-python/jupyter-ydoc/jupyter-ydoc-2.0.1.ebuild b/dev-python/jupyter-ydoc/jupyter-ydoc-2.0.1.ebuild
new file mode 100644
index 000000000000..a30ad14c4ca9
--- /dev/null
+++ b/dev-python/jupyter-ydoc/jupyter-ydoc-2.0.1.ebuild
@@ -0,0 +1,48 @@
+# 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_{10..12} )
+
+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"
+
+# Requires node
+RESTRICT="test"
+
+RDEPEND="dev-python/importlib-metadata[${PYTHON_USEDEP}]
+	dev-python/pycrdt[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+		>=dev-python/websockets-10.0[${PYTHON_USEDEP}]
+		dev-python/pycrdt-websocket[${PYTHON_USEDEP}]
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.0.2-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

diff --git a/dev-python/jupyter-ydoc/metadata.xml b/dev-python/jupyter-ydoc/metadata.xml
new file mode 100644
index 000000000000..a7e33c55e1cf
--- /dev/null
+++ b/dev-python/jupyter-ydoc/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-ydoc</remote-id>
+    <remote-id type="github">jupyter-server/jupyter_ydoc</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-24 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-24 13:40 [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-ydoc/, dev-python/jupyter-ydoc/files/ Benda XU
  -- strict thread matches above, loose matches on Subject: below --
2023-07-24 11:32 Michał Górny
2023-07-20 10:47 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox