void-packages/srcpkgs/python3-lsp-jsonrpc/template

24 lines
709 B
Bash

# Template file for 'python3-lsp-jsonrpc'
pkgname=python3-lsp-jsonrpc
version=1.0.0
revision=1
wrksrc="${pkgname/3}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-ultrajson"
checkdepends="python3-pytest python3-pytest-cov"
short_desc="Python server implementation of the JSON RPC 2.0 protocol"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="MIT"
homepage="https://github.com/python-lsp/python-lsp-jsonrpc"
distfiles="${PYPI_SITE}/p/${pkgname/3}/${pkgname/3}-${version}.tar.gz"
checksum=7bec170733db628d3506ea3a5288ff76aa33c70215ed223abdb0d95e957660bd
post_install() {
vlicense LICENSE
}
do_check() {
python3 -m pytest --ignore=test/test_streams.py
}