22 lines
707 B
Bash
22 lines
707 B
Bash
# Template file for 'python3-language-server'
|
|
pkgname=python3-language-server
|
|
version=0.36.1
|
|
revision=1
|
|
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=c85d718ef6860319ad59fd6f2acb1166e9349b782ee8e8908e08ecf241615f52
|
|
|
|
post_patch() {
|
|
vsed -i setup.py -e 's/\bujson<=1.35\b/ujson/'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|