public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-lsp/
Date: Mon, 26 Feb 2024 17:48:22 +0000 (UTC)	[thread overview]
Message-ID: <1708969694.c703e1811c1eaffd62b40850174560a7fbf1d436.mgorny@gentoo> (raw)

commit:     c703e1811c1eaffd62b40850174560a7fbf1d436
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 16:25:19 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 17:48:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c703e181

dev-python/jupyter-lsp: Bump to 2.2.3

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

 dev-python/jupyter-lsp/Manifest                 |  1 +
 dev-python/jupyter-lsp/jupyter-lsp-2.2.3.ebuild | 85 +++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/dev-python/jupyter-lsp/Manifest b/dev-python/jupyter-lsp/Manifest
index 2d5b6e364792..5b88f172906d 100644
--- a/dev-python/jupyter-lsp/Manifest
+++ b/dev-python/jupyter-lsp/Manifest
@@ -1 +1,2 @@
 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

diff --git a/dev-python/jupyter-lsp/jupyter-lsp-2.2.3.ebuild b/dev-python/jupyter-lsp/jupyter-lsp-2.2.3.ebuild
new file mode 100644
index 000000000000..e742236af349
--- /dev/null
+++ b/dev-python/jupyter-lsp/jupyter-lsp-2.2.3.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
+}


             reply	other threads:[~2024-02-26 17:48 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26 17:48 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-24 17:15 [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-lsp/ Michał Górny
2024-04-24 15:31 Sam James
2024-04-10  6:15 Michał Górny
2024-03-22  4:38 Michał Górny
2024-03-21 19:24 Arthur Zamarin
2024-03-16  9:56 Michał Górny
2024-03-16  9:54 Arthur Zamarin
2024-03-05 19:11 Michał Górny
2023-12-15 13:13 Michał Górny
2023-12-15 12:41 Arthur Zamarin
2023-12-15 11:19 Michał Górny
2023-11-27  5:02 Michał Górny
2023-11-20 17:03 Michał Górny
2023-10-13 15:27 Arthur Zamarin
2023-10-13 14:47 Arthur Zamarin
2023-10-06 17:47 Arthur Zamarin
2023-10-06 17:44 Arthur Zamarin
2023-10-06 14:52 Sam James
2023-09-10  5:27 WANG Xuerui
2023-08-14 17:57 Jakov Smolić
2023-08-13 16:10 Arthur Zamarin
2023-08-13 16:08 Arthur Zamarin
2023-08-05  5:28 Sam James
2023-07-24 11:32 Michał Górny
2023-07-19 11:10 Michał Górny
2023-05-29  5:49 Michał Górny
2023-05-19 13:40 Andrew Ammerlaan
2023-04-08  6:08 Michał Górny
2023-03-29 13:26 Andrew Ammerlaan
2023-03-17 15:29 Michał Górny
2022-11-07 21:38 Andrew Ammerlaan
2022-03-24  8:39 Andrew Ammerlaan
2021-12-29 12:42 Andrew Ammerlaan
2021-11-14  8:46 Michał Górny
2021-10-25 13:09 Andrew Ammerlaan
2021-09-09 13:39 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1708969694.c703e1811c1eaffd62b40850174560a7fbf1d436.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox