# Maintainer: Andy Postnikov pkgname=py3-tenacity _pkgname=tenacity pkgver=8.2.2 pkgrel=1 pkgdesc="general-purpose retrying library" url="https://tenacity.readthedocs.io/" arch="noarch" license="Apache-2" depends="python3" makedepends="py3-setuptools py3-pytest py3-setuptools_scm" checkdepends="py3-tornado py3-typeguard" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz fix-build-typeguard.patch " builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { pytest -v } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" a1e2569dd5afdc982716f22ba7c67f7a43351e9f2dbefad30854d8655fa7600300c624b7353ea7d68aa462cbf2f33cf93e643e2868e8e197a61eb1ccf25c275e tenacity-8.2.2.tar.gz 2d18203245d6d7b6ff43bacdb09fdf65cc41d50de3e47acbe58b1d75822cfdda0f3a3ef03b47854976e49c82bcb27a5f76b0d7ac7aa52177b2b176ddea907d33 fix-build-typeguard.patch "