dev-python/jupyter-lsp: add version 1.5.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2021-12-29 13:25:42 +01:00
parent 8c45758b17
commit e905cab3a1
2 changed files with 47 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST jupyter-lsp-1.5.0.tar.gz 35747 BLAKE2B 110840905b929c5aab420493e1535fbe5329dc5cc7204d48c59fd656b6b98ca5830887fa5eb513299cfd1ed63cda2f133652c85fe8a285ac304212598be2afbf SHA512 868b16236d02aaf055431f88f1680df9f8b8f5bf9de0feee3f378d23a653c5e7555602717bf30b7e48089e287dc595f8674f9431296a24e788c54f085e50bc79
DIST jupyter-lsp-1.5.1.tar.gz 35907 BLAKE2B bc69791253bfcf40188fe2bae24a2681ce17835f5eb1d2640edf93a69285b33d426bffdf09c66308e6f79e33c4778e539fc2a7ed056fe64758e82acc6374b4cf SHA512 585c7b3b7ea87fd9d3ad27e3e4473f3bce56ad41d3b028173e2fcad4b0d2db5b1c0c89cd8c976c3f8b4d30ae7a63018dc1e19d4527b56eafe21ec0b5e89a538b

View File

@@ -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
}