# Contributor: Galen Abell # Maintainer: Galen Abell pkgname=py3-gls pkgver=1.0.2 pkgrel=0 pkgdesc="pythonic generic language server" url="https://github.com/openlawlibrary/pygls" arch="noarch" license="Apache-2.0" depends="python3 py3-lsprotocol py3-typeguard" makedepends="py3-setuptools py3-setuptools_scm py3-gpep517 py3-wheel" checkdepends="py3-pytest py3-pytest-asyncio" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/openlawlibrary/pygls/archive/refs/tags/v$pkgver.tar.gz " builddir="$srcdir/pygls-$pkgver" build() { export SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { PYTHONPATH="." pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 379698129e44b074a5cdeb9a714adcf41e96984101c1e6c397e7530fb2fe07c0ebb59ee34f47f527fe02316c8e71e66b9d82b3abad6c4d9f76c4aef4cc18a719 py3-gls-1.0.2.tar.gz "