void-packages/srcpkgs/python3-language-server/template

23 lines
707 B
Bash

# Template file for 'python3-language-server'
pkgname=python3-language-server
version=0.34.1
revision=3
wrksrc="${pkgname/3}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-jedi python3-pluggy python3-jsonrpc-server python3-ultrajson"
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=b96ff466b5aa24e212493de863899298f229a9e250e7353972563c7f2495d23d
post_patch() {
vsed -i setup.py -e 's/\bujson<=1.35\b/ujson/'
}
post_install() {
vlicense LICENSE
}