# Maintainer: pkgname=py3-combo-lock pkgver=0.2.6 pkgrel=1 pkgdesc="Python combination of a process lock and a thread lock" url="https://github.com/forslund/combo-lock" arch="noarch" license="Apache-2.0" depends=" py3-filelock py3-memory-tempfile python3 " makedepends=" py3-gpep517 py3-setuptools py3-wheel " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/forslund/combo-lock/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/combo-lock-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { PYTHONPATH="$PWD" \ python3 -m unittest tests/test_*.py } package() { python3 -m installer -d "$pkgdir" .dist/*.whl } sha512sums=" 381b6d7eb4e099081c49ac04ab6f8d9bee369454a1cce22da4ef8a31a3dfc75b51df31b75bd6f3d56b0c1e506cf6c439de14408f7c1a112ca2cb32455ce8e32a py3-combo-lock-0.2.6.tar.gz "