# Template file for 'python3-jupyter-lsp'
pkgname=python3-jupyter-lsp
version=2.2.5
revision=2
build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3-jupyter_server"
checkdepends="$depends python3-pytest"
short_desc="Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server"
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/jupyter-lsp/jupyterlab-lsp"
changelog="https://github.com/jupyter-lsp/jupyterlab-lsp/releases"
distfiles="${PYPI_SITE}/j/jupyter-lsp/jupyter-lsp-${version}.tar.gz"
checksum=793147a05ad446f809fd53ef1cd19a9f5256fd0a2d6b7ce943a982cb4f545001

# This test needs R package languageserver which we don't have
make_check_args="
 --deselect jupyter_lsp/tests/test_detect.py::test_r_package_detection"

post_install() {
	mv ${DESTDIR}/usr/etc ${DESTDIR}
	vlicense LICENSE
}
