From d180ad387a84e5307ed9ac50f2b40f29dd612fae Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Sat, 2 Apr 2022 11:54:44 -0700 Subject: [PATCH] New package: python3-lsp-jsonrpc-1.0.0 --- srcpkgs/python3-lsp-jsonrpc/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-lsp-jsonrpc/template diff --git a/srcpkgs/python3-lsp-jsonrpc/template b/srcpkgs/python3-lsp-jsonrpc/template new file mode 100644 index 0000000000..1455aa1087 --- /dev/null +++ b/srcpkgs/python3-lsp-jsonrpc/template @@ -0,0 +1,23 @@ +# 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 " +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 +}