From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 054B7158042 for ; Thu, 9 Sep 2021 13:39:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76EC8E0928; Thu, 9 Sep 2021 13:39:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 209E0E0928 for ; Thu, 9 Sep 2021 13:39:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C861B342A91 for ; Thu, 9 Sep 2021 13:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F6F4CB for ; Thu, 9 Sep 2021 13:39:15 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1631194751.5af01958e73a7967f1c5fa6f423b9c83d0db2042.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter-lsp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jupyter-lsp/Manifest dev-python/jupyter-lsp/jupyter-lsp-1.4.1.ebuild dev-python/jupyter-lsp/metadata.xml X-VCS-Directories: dev-python/jupyter-lsp/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 5af01958e73a7967f1c5fa6f423b9c83d0db2042 X-VCS-Branch: master Date: Thu, 9 Sep 2021 13:39:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 300a31b4-2429-4016-9efe-779e211874a9 X-Archives-Hash: d1934bdea410524e1c5292b792b08d9c commit: 5af01958e73a7967f1c5fa6f423b9c83d0db2042 Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu Sep 9 13:18:54 2021 +0000 Commit: Andrew Ammerlaan gentoo 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 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 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + + jupyter-lsp + krassowski/jupyterlab-lsp + +