# Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=py3-concurrent-log-handler _pyname=concurrent-log-handler pkgver=0.9.26 pkgrel=0 arch="noarch" pkgdesc="RotatingFileHandler replacement with concurrency, gzip and Windows support" url="https://pypi.python.org/project/concurrent-log-handler" license="Apache-2.0" depends=" py3-portalocker " makedepends=" py3-setuptools py3-gpep517 py3-wheel py3-hatchling " checkdepends="py3-pytest" source="$pkgname-$pkgver-gh.tar.gz::https://github.com/Preston-Landers/concurrent-log-handler/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver subpackages="$pkgname-pyc" 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 -v } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 59dd009712445115634e854c9f3738dc0f3893d8bb150b5edfcc0705e00e84fd2515720ad33f82687f60d9855709f69ba838af3729bed2bd0d5759fb604e216e py3-concurrent-log-handler-0.9.26-gh.tar.gz "