# Maintainer: pkgname=py3-lsprotocol pkgver=2023.0.0b1 pkgrel=0 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=" 9db083462c8c2a8005ab92c860831ebe93810630a1529c6d1a5b11804d1bf27314a5c1000eb1cbd49cb1b7aeaa3613736012751b239f7398aaaec606b3007bcc py3-lsprotocol-2023.0.0b1.tar.gz "