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

24 lines
768 B
Bash

# Template file for 'python3-lsp-jsonrpc'
pkgname=python3-lsp-jsonrpc
version=1.0.0
revision=3
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 <cam@nohom.org>"
license="MIT"
homepage="https://github.com/python-lsp/python-lsp-jsonrpc"
changelog="https://raw.githubusercontent.com/python-lsp/python-lsp-jsonrpc/develop/CHANGELOG.md"
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
}