summaryrefslogtreecommitdiff
path: root/dev-python/jupyter-lsp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-06 01:06:16 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-06 01:06:16 +0000
commit1c646fe0f6db3b97a61ac9d93f96c0eee5ef517a (patch)
tree54d99858b231d7a607c570b1709710141944a84d /dev-python/jupyter-lsp
parentcc420fb8bdbc37a0c10b7dc2e02928bcd840147a (diff)
gentoo auto-resync : 06:03:2024 - 01:06:16
Diffstat (limited to 'dev-python/jupyter-lsp')
-rw-r--r--dev-python/jupyter-lsp/Manifest2
-rw-r--r--dev-python/jupyter-lsp/jupyter-lsp-2.2.4.ebuild85
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/jupyter-lsp/Manifest b/dev-python/jupyter-lsp/Manifest
index 866bb957914d..feaecf68efe7 100644
--- a/dev-python/jupyter-lsp/Manifest
+++ b/dev-python/jupyter-lsp/Manifest
@@ -1,5 +1,7 @@
DIST jupyter-lsp-2.2.1.tar.gz 45839 BLAKE2B 5f7af7a335f97f8f35ebcd2cabb9b6377ec3bbc9b756bcd9c02e3b2ab8798855c2de9df7b9c3f1b832672030de660e1b6a475de70708911c1deca128d1cbfe44 SHA512 2f8d5a7a19daedd649810baa43bed5ae994dec7245a793298f5de4c32fd22190ffa3c4a356b3bfda3422fcdce5a34ea081c7f49030db8fcb633f761719ecfe4b
DIST jupyter-lsp-2.2.3.tar.gz 48675 BLAKE2B b7b57e6d5cf2efb1a6c4a2884da721b8230da28f656679bc46502b38f4960663400af0dcacff2e92d211dd8e190ee633dbb63d24e9499b8530ebbc399597abd7 SHA512 ecccf5a99ef64e64bcdf999673035c45f5ccf42e9e02c3de9c600c0469f727f3cf0a6c71f53090494523070521df88642260e477588963303af0d9ba0518bb96
+DIST jupyter-lsp-2.2.4.tar.gz 48663 BLAKE2B 7157d52657b614af1909e681903aa5fabd5b8d4f246f8e87b281615dc9c754c23da928a806980e1f7c8230786870263cb4d9fab32e365dfe660a2e578e40552b SHA512 01d2b18ec3f9575c1d2ab1ea64f94d093fa593374ab8a1343024b78c1baf935a9fd51a4f9a65a1094b6fc59384ca244714e73066d8db13fa00de5c1f625462c6
EBUILD jupyter-lsp-2.2.1.ebuild 3016 BLAKE2B 94e94c2d6dc87e7cc449102d634db329b1baf8918ed0cb64e7abb709d02c548fa9be2c5eb29ff0c110b76fd8a022d4756ce1d7b0ac662720d11471cb77ac3225 SHA512 2e124902260380d8bf4a0738169d04dc6144f9647de9163bb09cd277565c1a4e7276d099bc7599a2b71d8d9b47ccbf7f9b1d9a5e6290b8fb1da5a34c53db0564
EBUILD jupyter-lsp-2.2.3.ebuild 3107 BLAKE2B d6bf1b9052c5a3c598da786acee1a336df6ca0517ecbe4a7222b3d32ae73a75993119d2ba277cd3faafbbca6347b059e426060a09775596248858b33a0f97e1d SHA512 419cb067fbd4ed95d421bab505a117111fbe934df5b0f6d8cf4830fa538d0f2b430b06df6e41262b6745003379208b2e806828b7becab825a0c3fb9cedec54b3
+EBUILD jupyter-lsp-2.2.4.ebuild 3107 BLAKE2B d6bf1b9052c5a3c598da786acee1a336df6ca0517ecbe4a7222b3d32ae73a75993119d2ba277cd3faafbbca6347b059e426060a09775596248858b33a0f97e1d SHA512 419cb067fbd4ed95d421bab505a117111fbe934df5b0f6d8cf4830fa538d0f2b430b06df6e41262b6745003379208b2e806828b7becab825a0c3fb9cedec54b3
MISC metadata.xml 418 BLAKE2B b5e29964f271efebf225f8f8cabfcda723f20a40693df463a8d0aad04d63dc67b35a16a8ee83fc7d37aff55fc481bceb02d20221c6c11ab3993fd1fd3b5cdbd4 SHA512 4935850508d3b951c3f6e0bd4068303e6f6415024852e276ffd67777dca3da53aa9879ef460287f90b5c66dde02ec10a1eeb249579ef1fabf7dbed882f5cbe42
diff --git a/dev-python/jupyter-lsp/jupyter-lsp-2.2.4.ebuild b/dev-python/jupyter-lsp/jupyter-lsp-2.2.4.ebuild
new file mode 100644
index 000000000000..e742236af349
--- /dev/null
+++ b/dev-python/jupyter-lsp/jupyter-lsp-2.2.4.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYPI_NO_NORMALIZE=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab"
+HOMEPAGE="
+ https://github.com/jupyter-lsp/jupyterlab-lsp
+ https://pypi.org/project/jupyter-lsp/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ dev-python/entrypoints[${PYTHON_USEDEP}]
+ >=dev-python/jupyter-server-1.1.2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # Do not depend on pytest-cov or flake8
+ sed -i -e '/--cov/d' -e '/--flake8/d' setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # hangs
+ jupyter_lsp/tests/test_auth.py
+ # Not packaged
+ jupyter_lsp/tests/test_detect.py::test_r_package_detection
+ "jupyter_lsp/tests/test_listener.py::test_listeners[bash-language-server]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[dockerfile-language-server-nodejs]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[pylsp]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[r-languageserver]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[sql-language-server]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[typescript-language-server]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[unified-language-server]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-css-languageserver-bin]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-html-languageserver-bin]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[vscode-json-languageserver-bin]"
+ "jupyter_lsp/tests/test_listener.py::test_listeners[yaml-language-server]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[bash-language-server]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[dockerfile-language-server-nodejs]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[pylsp]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[r-languageserver]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[sql-language-server]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[typescript-language-server]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[unified-language-server]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[vscode-css-languageserver-bin]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[vscode-html-languageserver-bin]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[vscode-json-languageserver-bin]"
+ "jupyter_lsp/tests/test_session.py::test_start_known[yaml-language-server]"
+ )
+
+ case ${EPYTHON} in
+ python3.12)
+ EPYTEST_DESELECT+=(
+ jupyter_lsp/tests/test_session.py::test_start_unknown
+ )
+ ;;
+ esac
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ mv "${ED}/usr/etc" "${ED}/etc" || die
+}
+
+pkg_postinst() {
+ optfeature "Language server for Python" dev-python/python-lsp-server
+}