# Template file for 'python3-lsp-server'
pkgname=python3-lsp-server
version=1.13.1
revision=1
build_style=python3-pep517
make_check_args="
 --ignore=test/plugins/test_completion.py
 --ignore=test/plugins/test_pydocstyle_lint.py
 --ignore=test/plugins/test_rope_rename.py
 --ignore=test/plugins/test_yapf_format.py
 --ignore=test/plugins/test_autoimport.py
"
hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
depends="python3-docstring-to-markdown python3-jedi python3-pluggy
 python3-lsp-jsonrpc python3-ultrajson black"
checkdepends="${depends} autopep8 python3-coverage python3-flaky python3-matplotlib
 python3-mccabe python3-mock python3-numpy python3-pandas python3-pycodestyle
 python3-PyQt5 python3-pyflakes python3-pylint python3-pytest python3-pytest-cov
 python3-websockets flake8"
short_desc="Python implementation of the Language Server Protocol"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/python-lsp/python-lsp-server"
changelog="https://raw.githubusercontent.com/python-lsp/python-lsp-server/develop/CHANGELOG.md"
distfiles="${PYPI_SITE}/p/python_lsp_server/python_lsp_server-${version}.tar.gz"
checksum=bfa3d6bbca3fc3e6d0137b27cd1eabee65783a8d4314c36e1e230c603419afa3

post_install() {
	vlicense LICENSE
}

python3-language-server_package() {
	metapackage=yes
	depends="python3-lsp-server>=${version}_${revision}"
	short_desc+=" (transitional dummy package)"
}
