public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-lsp/
Date: Wed, 29 Mar 2023 13:26:28 +0000 (UTC)	[thread overview]
Message-ID: <1680096349.8514186a37e1d172d3f6b28598c3356ceeef9922.andrewammerlaan@gentoo> (raw)

commit:     8514186a37e1d172d3f6b28598c3356ceeef9922
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 29 13:24:52 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Mar 29 13:25:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8514186a

dev-python/jupyter-lsp: add 2.0.1

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

 dev-python/jupyter-lsp/Manifest                 |  1 +
 dev-python/jupyter-lsp/jupyter-lsp-2.0.1.ebuild | 70 +++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-python/jupyter-lsp/Manifest b/dev-python/jupyter-lsp/Manifest
index 3bb7a445cf96..0b3499223596 100644
--- a/dev-python/jupyter-lsp/Manifest
+++ b/dev-python/jupyter-lsp/Manifest
@@ -1 +1,2 @@
 DIST jupyter-lsp-1.5.1.tar.gz 35907 BLAKE2B bc69791253bfcf40188fe2bae24a2681ce17835f5eb1d2640edf93a69285b33d426bffdf09c66308e6f79e33c4778e539fc2a7ed056fe64758e82acc6374b4cf SHA512 585c7b3b7ea87fd9d3ad27e3e4473f3bce56ad41d3b028173e2fcad4b0d2db5b1c0c89cd8c976c3f8b4d30ae7a63018dc1e19d4527b56eafe21ec0b5e89a538b
+DIST jupyter-lsp-2.0.1.tar.gz 43962 BLAKE2B 0a030542297c6a311ca2b9a681acf4ae4d196ebaee342fa44a7a5b0c9a3788aecdb7b6a60a4653114ae6c5a69f4da9108a831eda72401643b8bb34cad6d3de43 SHA512 539851c567cf0dfa08c9658fe98941a8aaa90f625cba1d231d54fe3f4e19cbd9f14fc5b54c39798af1d1da40075dbaa7f43e95517934571391c488639f9c66b3

diff --git a/dev-python/jupyter-lsp/jupyter-lsp-2.0.1.ebuild b/dev-python/jupyter-lsp/jupyter-lsp-2.0.1.ebuild
new file mode 100644
index 000000000000..ecaeb7c5b929
--- /dev/null
+++ b/dev-python/jupyter-lsp/jupyter-lsp-2.0.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 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=( python3_{9..11} )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab"
+HOMEPAGE="https://github.com/krassowski/jupyterlab-lsp"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	dev-python/entrypoints[${PYTHON_USEDEP}]
+	>=dev-python/jupyter-server-1.1.2[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		>=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}]
+	' 3.9)
+"
+
+EPYTEST_DESELECT=(
+	# Not packaged
+	"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[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[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]"
+)
+
+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
+	# R lsp server not packaged
+	sed -i -e 's:test_r_package_detection:_&:' \
+		jupyter_lsp/tests/test_detect.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+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:[~2023-03-29 13:26 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-29 13:26 Andrew Ammerlaan [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
2024-02-26 17:48 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-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=1680096349.8514186a37e1d172d3f6b28598c3356ceeef9922.andrewammerlaan@gentoo \
    --to=andrewammerlaan@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