void-packages/srcpkgs/python3-language-server/template
Lorem 92e3f5403d python3-language-server: fix compatibility with jedi 0.18.0
Project seems to be unmaintained at the moment. There's an active fork at
https://github.com/python-lsp/python-lsp-server that we can switch to
in future.
2021-06-26 18:35:26 -03:00

30 lines
1.1 KiB
Bash

# Template file for 'python3-language-server'
pkgname=python3-language-server
version=0.36.1
revision=2
wrksrc="${pkgname/3}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jedi python3-pluggy python3-jsonrpc-server python3-ultrajson"
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-yapf"
short_desc="Python implementation of the Language Server Protocol"
maintainer="k4leg <d0xi@inbox.ru>"
license="MIT"
homepage="https://github.com/palantir/python-language-server"
distfiles="${PYPI_SITE}/p/${pkgname/3}/${pkgname/3}-${version}.tar.gz"
checksum=c85d718ef6860319ad59fd6f2acb1166e9349b782ee8e8908e08ecf241615f52
# Needs unpackaged rope and versioneer
# https://github.com/palantir/python-language-server/blob/develop/setup.py#L51
make_check=no
post_patch() {
vsed -i setup.py -e 's/\bujson<=1.35\b/ujson/'
}
post_install() {
vlicense LICENSE
}