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: Thu,  9 Sep 2021 13:39:15 +0000 (UTC)	[thread overview]
Message-ID: <1631194751.5af01958e73a7967f1c5fa6f423b9c83d0db2042.andrewammerlaan@gentoo> (raw)

commit:     5af01958e73a7967f1c5fa6f423b9c83d0db2042
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  9 13:18:54 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Sep  9 13:39:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af01958

dev-python/jupyter-lsp: import from ::sci

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/jupyter-lsp/Manifest                 |  1 +
 dev-python/jupyter-lsp/jupyter-lsp-1.4.1.ebuild | 46 +++++++++++++++++++++++++
 dev-python/jupyter-lsp/metadata.xml             | 13 +++++++
 3 files changed, 60 insertions(+)

diff --git a/dev-python/jupyter-lsp/Manifest b/dev-python/jupyter-lsp/Manifest
new file mode 100644
index 00000000000..c6dd6f2c838
--- /dev/null
+++ b/dev-python/jupyter-lsp/Manifest
@@ -0,0 +1 @@
+DIST jupyter-lsp-1.4.1.tar.gz 35738 BLAKE2B 8eee0567c6700cf3a518e14a0fb01614fd3ff2abd913d33fe765439de391bae0de706d1e6284bb2bc537da7e4380ff812cc341b28e18af0db50473e37b6711c1 SHA512 c23d4343075a3f13ab19147bf1294443a3852fa7b5b9f888c860de9972a1d17b5398b66348c81a6c6a07aa5c3b4615d9edb4f5d53545a926c3f0d1294cf70da7

diff --git a/dev-python/jupyter-lsp/jupyter-lsp-1.4.1.ebuild b/dev-python/jupyter-lsp/jupyter-lsp-1.4.1.ebuild
new file mode 100644
index 00000000000..80837081df4
--- /dev/null
+++ b/dev-python/jupyter-lsp/jupyter-lsp-1.4.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab"
+HOMEPAGE="https://github.com/krassowski/jupyterlab-lsp"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# TODO: Find out what is going on here
+# asyncio.exceptions.TimeoutError
+RESTRICt="test"
+
+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
+	# 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
+}

diff --git a/dev-python/jupyter-lsp/metadata.xml b/dev-python/jupyter-lsp/metadata.xml
new file mode 100644
index 00000000000..f8fb29a2592
--- /dev/null
+++ b/dev-python/jupyter-lsp/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">jupyter-lsp</remote-id>
+		<remote-id type="github">krassowski/jupyterlab-lsp</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2021-09-09 13:39 UTC|newest]

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

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=1631194751.5af01958e73a7967f1c5fa6f423b9c83d0db2042.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