diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-29 15:53:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-29 15:53:38 +0100 |
commit | 822a054dd1bab7f8080ccd486398034b4ff0b97d (patch) | |
tree | c64bfd54aca68af69ccf06b1a9d20365383e3ccc /dev-python/jupyter_ydoc | |
parent | f7436a5ce1c11f1c33cd09dd757f768cd07b19fd (diff) |
gentoo auto-resync : 29:03:2023 - 15:53:38
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.0-no-node-for-version.patch | 30 | ||||
-rw-r--r-- | dev-python/jupyter_ydoc/jupyter_ydoc-1.0.0.ebuild | 47 |
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-python/jupyter_ydoc/Manifest b/dev-python/jupyter_ydoc/Manifest index ddece5211672..60800a5e602b 100644 --- a/dev-python/jupyter_ydoc/Manifest +++ b/dev-python/jupyter_ydoc/Manifest @@ -1,6 +1,9 @@ AUX jupyter_ydoc-0.3.4-no-node-for-version.patch 846 BLAKE2B dd5c4764012d59e8861852ba5495577b535e4c5ce81bf6158094a58e30483bcdde43fc4c95daaedbe2ac6e401b3525d63a1f999827bd31c067ce2340109e6ff1 SHA512 6baa33bf597ee9d6b4bd086c67705817c338b9ec7f746df60eab088a7e20bea8853adcfa2a7f2d1d7364e8168b6eaf43f7bf95157346fba9a97e28fe50ff3359 +AUX jupyter_ydoc-1.0.0-no-node-for-version.patch 846 BLAKE2B 11112ffe502a4fa87abb4955f082ab6beef545a4327bb449586f1b837c78cce2cc863e7b40d71690920da6bf1346c8aa84e462cc9f16c7b51fc6a539ccea5dac SHA512 e9d82e27ce628a1e96fade29429c2532637c89cc6ad1ce307d74f493096ab003f5a9ea35247976ff6f7da8af566ef69c4cd82cec3ebd8a2a6bb72d67148b53d7 DIST jupyter_ydoc-0.2.2.gh.tar.gz 10664 BLAKE2B d8a0536c07097e359b0145e5ca08f203dcc06d6ff1f556b814cebb5d8798dcd0ca36f70c010f410f4c14a754989db7dc65255863ea7c2610f0201820917f0e90 SHA512 f8db63a1829ffd58c8e773a2c9be674023e58a57dbd7bfffdfaf37ee735bf6cbd62c984df830198b1e8bdd5d1bcb1679cef07a77af36b02c72a704d6e9e295ca DIST jupyter_ydoc-0.3.4.gh.tar.gz 172549 BLAKE2B 1dd9d7e88736c8fb4681a47ba70d57871b94d2e64947fd5f469f4e0884705011f50e31f04c7f5cc0aaeb98987bf1ccf09029daa849c7aa644a04fb3dbc743742 SHA512 23523c91daf799f944684ea0b3f7768ab2625472b1f9d330fca3be91a532e0ec676cef4c2a82ee33af129e3ac9a1165272386b573098e4267af68c872607c1d1 +DIST jupyter_ydoc-1.0.0.gh.tar.gz 985632 BLAKE2B 6e4456d3eb96f40e4703d7a1413d62d82497ff46fa15c3e0c6a9dd6544cdbddf5cb5b24d87e135170af643bc45b6b88a0a5f5a3fd03986d85f8428b5f12c4b85 SHA512 7cf8f37fb28ce1b0cf02e5e2db642e6fd5debbf5cb6a119b5291ea2930b177d5f17d7236e105891e828e2c0a4ced3c06cb4e78a1b6c2c318e2674fa5da2a8b8b EBUILD jupyter_ydoc-0.2.2.ebuild 1023 BLAKE2B 763c31bbf9820f05160016ab0c706a255cd1790c93f6e6c03e8d29cee376cfb73f378954ebc04b8c6925f5440390d7c704838e97ffa6a0864c94df986b0578b2 SHA512 b7a39145c419cdbca591b267f963e4b9516a361748cf681ad0a7ce3f177ecb531278e7ece1ff05cc97e739b72e7113adbbb934212cd54d060bd9220020ceb5ea EBUILD jupyter_ydoc-0.3.4.ebuild 1075 BLAKE2B 5f2634848580504d36875efeed27f99e402c9560711fcca1dedc31a35a17eb5b74cc50e5442389a493c7b3ef73ed86add43bc2fd538a9acf5b35d2dfc9353f86 SHA512 af5e02e90f583da0c0e3f95331c6866e9bde3d283c1d4664cd95743698070082c466e86dc62da7a81cd9feafd2965d073c4548bf4709e76a8bf304cf9e5771f0 +EBUILD jupyter_ydoc-1.0.0.ebuild 1135 BLAKE2B 558839d3c61a01577aa3b7039e20025434c7ae9aa6326619bebc2453844a6c0edd058c203fce116e6483642fa53dd53af4fa36ae2938a04eb73725593a13ed10 SHA512 e7cf55b961578a4705bed024ca52f34988b2bd7c9112973b07721a73586a09ffda8e0733bdb86a8f343d75a0d9de363976aa91346120b9ca0b23a0a03a57bc5c MISC metadata.xml 433 BLAKE2B cf2579c7d85eefe97d8ec81f37ac5e10deee9aaf52b16cea8ce3649f6076a3afee9e7ce6efbf82cd7713421353b53c16ed4d28b03a9b6e8b5c029fc6f3615651 SHA512 1258a3f0bd2a959055312594eb72bcd06fd639cf777543b41919da60b4082d241ad87231bdfb8c2ef057c85657875ac596b732301d3fb0c9a10cea5d2746234f 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 new file mode 100644 index 000000000000..2195a0d60e0b --- /dev/null +++ b/dev-python/jupyter_ydoc/files/jupyter_ydoc-1.0.0-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.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 new file mode 100644 index 000000000000..6b92a4de8d15 --- /dev/null +++ b/dev-python/jupyter_ydoc/jupyter_ydoc-1.0.0.ebuild @@ -0,0 +1,47 @@ +# 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 + +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/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +# Requires node +RESTRICT="test" + +RDEPEND=" + >=dev-python/y-py-0.6.0[${PYTHON_USEDEP}] + <dev-python/y-py-0.7.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}] + ' 3.9) +" +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 |