# Contributor: Patrycja Rosa # Maintainer: Patrycja Rosa pkgname=py3-pyu2f pkgver=0.1.5a pkgrel=1 pkgdesc="Python based U2F host library" url="https://github.com/google/pyu2f" arch="noarch" license="Apache-2.0" depends="python3 py3-six" makedepends="py3-setuptools" checkdepends="py3-pytest py3-mock py3-pyfakefs" subpackages="$pkgname-pyc" source="https://github.com/google/pyu2f/archive/refs/tags/$pkgver/py3-pyu2f-$pkgver.tar.gz $pkgname-pyfakefs5.patch::https://github.com/google/pyu2f/commit/5e2f862dd5ba61eadff341dbf0a1202e91b1b145.patch " builddir="$srcdir/pyu2f-$pkgver" build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" fac94c4ed9150db83d3118f7993261c5f814b3555bf0694b418e38333488042db244be967d34e3283bc230d8c38e5699157a042a32cc58bed558e0164bf052db py3-pyu2f-0.1.5a.tar.gz e9e91385e2d677be850b536d28f54cf17b9bb366e3ba633fd3970c7abd48242308128cf0e32f45a276e5c5eccacef596c00e5a255e9a4c316d98803164105a1c py3-pyu2f-pyfakefs5.patch "