diff options
Diffstat (limited to 'dev-python/jupyter-ydoc')
-rw-r--r-- | dev-python/jupyter-ydoc/Manifest | 3 | ||||
-rw-r--r-- | dev-python/jupyter-ydoc/files/jupyter-ydoc-1.0.2-no-node-for-version.patch | 30 | ||||
-rw-r--r-- | dev-python/jupyter-ydoc/jupyter-ydoc-1.0.2.ebuild | 49 |
3 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/jupyter-ydoc/Manifest b/dev-python/jupyter-ydoc/Manifest index d3bbf2988e0e..4a945df2d57f 100644 --- a/dev-python/jupyter-ydoc/Manifest +++ b/dev-python/jupyter-ydoc/Manifest @@ -1,4 +1,7 @@ AUX jupyter-ydoc-1.0.0-no-node-for-version.patch 846 BLAKE2B 11112ffe502a4fa87abb4955f082ab6beef545a4327bb449586f1b837c78cce2cc863e7b40d71690920da6bf1346c8aa84e462cc9f16c7b51fc6a539ccea5dac SHA512 e9d82e27ce628a1e96fade29429c2532637c89cc6ad1ce307d74f493096ab003f5a9ea35247976ff6f7da8af566ef69c4cd82cec3ebd8a2a6bb72d67148b53d7 +AUX jupyter-ydoc-1.0.2-no-node-for-version.patch 846 BLAKE2B 030e4ee6af5c8f6392261264996dfd4a44794d387db152fb396d1a8dc0fe5fe3612f7d37cef40076f55934a026ca2d54c9a5690775aeef2b412d37395e253c96 SHA512 8798924fed0e5e47c1acf7e7c40bd532a154d0084d7684d57764ca00df87155edc4223506ebcbf71df37a39c1252613ac31f9351105f8515121bf5668091e1cf 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 EBUILD jupyter-ydoc-1.0.0.ebuild 1096 BLAKE2B 36854ca625c92cf2045dd86816522398d07928d3319862748e4ae762fa69ee29ca9fcfd8e97282df9563b7a321a121a91ef18d9a34ece17bcd2b4e6f77afac92 SHA512 7fe7d28b0ce65d755c8b00e6fe79af88d24bcf5ba746764cf9ef38134b36f6951a43f2183479849f1a9f0f5c73718dfe0c7d4bf574dc0ba3192371a9a3df9d7e +EBUILD jupyter-ydoc-1.0.2.ebuild 1097 BLAKE2B ad08d8b2ffcc5141a7c3400fe0cda797543666ae60ba30fc7a7f8cafb2b5526ca9532e78abc4163facf1d9289eaa22dbd4f596132aa62648847ca19503848a70 SHA512 2cc3a06676827001c17e62c8e33ceafc78a41fdb3de1a9e243ab7ee06a589c3d9eee12e16c726f51f25848e68b7bed2a3fdd69b27114bdd10d1c81dcc38cc61d MISC metadata.xml 433 BLAKE2B cf2579c7d85eefe97d8ec81f37ac5e10deee9aaf52b16cea8ce3649f6076a3afee9e7ce6efbf82cd7713421353b53c16ed4d28b03a9b6e8b5c029fc6f3615651 SHA512 1258a3f0bd2a959055312594eb72bcd06fd639cf777543b41919da60b4082d241ad87231bdfb8c2ef057c85657875ac596b732301d3fb0c9a10cea5d2746234f 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 |