# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=filecheck pkgver=0.0.23 pkgrel=1 pkgdesc="Attempt to reimplement LLVM's FileCheck using Python" url="https://github.com/mull-project/FileCheck.py" arch="noarch" license="Apache-2.0" depends="python3" makedepends="py3-poetry-core py3-gpep517 py3-installer" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://github.com/mull-project/FileCheck.py/archive/v$pkgver/filecheck-$pkgver.tar.gz" builddir="$srcdir/FileCheck.py-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 7acc268c0784a280e028f7e60e7fc1c3a49206a728d905383a36a462f40a4d073ad528bc05c9b1f0629d245191fc8fb266f503929c5cd49a190ca53ea04f48d7 filecheck-0.0.23.tar.gz "