# Contributor: Antoine Martin (ayakael) # Maintainer: Antoine Martin (ayakael) pkgname=py3-aiohttp-retry _pkgreal=aiohttp_retry pkgver=2.8.3 pkgrel=0 pkgdesc="Simple retry client for aiohttp." url="https://github.com/inyutin/aiohttp_retry" arch="noarch" license="MIT" depends=" py3-aiohttp py3-yarl " makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" py3-pytest py3-pytest-aiohttp py3-pytest-cov " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/inyutin/aiohttp_retry/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$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 -v } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 71869c3997e9b5089c298fa6f992b0ed08ca3da0f93c4f37566d8c6b9809bb1873a629cc47f1ffaeccac112d96036851794ee564b11c0f4f1eec00f49413358d py3-aiohttp-retry-2.8.3.tar.gz "