# Maintainer: pkgname=py3-lsprotocol pkgver=2023.0.0a2 pkgrel=1 pkgdesc="Python implementation of the Language Server Protocol" url="https://github.com/microsoft/lsprotocol" arch="noarch" license="MIT" depends=" py3-attrs py3-cattrs " makedepends=" py3-flit-core py3-gpep517 " checkdepends=" py3-jsonschema py3-pyhamcrest py3-pytest " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/lsprotocol/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir/lsprotocol-$pkgver" build() { cd packages/python gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest tests/python } package() { python3 -m installer -d "$pkgdir" \ packages/python/.dist/*.whl } sha512sums=" 90d2a3dc8860399331376cda43522ddef80f15d945b4b4ac93d404c36e021f57d13bbbe954ba77713b83e55ce8f1fa1a051b967ca8bc351d9737bcd4ce64556e py3-lsprotocol-2023.0.0a2.tar.gz "