void-packages/srcpkgs/python3-language-server/template
2021-10-09 08:01:27 -04:00

29 lines
1.1 KiB
Bash

# Template file for 'python3-language-server'
pkgname=python3-language-server
version=0.36.1
revision=3
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
}