# Template file for 'python3-language-server' pkgname=python3-language-server version=0.36.2 revision=1 wrksrc="${pkgname/3}-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-jedi python3-pluggy python3-jsonrpc-server python3-ultrajson python3-setuptools" 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 " license="MIT" homepage="https://github.com/palantir/python-language-server" distfiles="${PYPI_SITE}/p/${pkgname/3}/${pkgname/3}-${version}.tar.gz" checksum=9984c84a67ee2c5102c8e703215f407fcfa5e62b0ae86c9572d0ada8c4b417b0 # 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 }