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

24 lines
786 B
Bash

# Template file for 'python3-lsp-jsonrpc'
pkgname=python3-lsp-jsonrpc
version=1.1.1
revision=2
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
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=05cc914aa5ee2e7f52eb762014ba4996a8cc52459bfddb81fb96c56ace927908
post_install() {
vlicense LICENSE
}
do_check() {
python3 -m pytest --ignore=test/test_streams.py
}