# Contributor: Clayton Craft # Maintainer: Clayton Craft pkgname=py3-solo1 _pkgname=solo1-cli pkgver=0.1.1 pkgrel=3 pkgdesc="Python3 tool and library for SoloKeys" url="https://github.com/solokeys/solo1-cli" arch="noarch" license="MIT" depends=" py3-click py3-cryptography py3-ecdsa py3-fido2 py3-intelhex py3-pyserial py3-requests py3-usb " makedepends="py3-gpep517 py3-flit-core" subpackages="$pkgname-pyc" source=" https://github.com/solokeys/solo1-cli/archive/$pkgver/solo1-cli-$pkgver.tar.gz 70-solokey.rules flit-core.patch fido2-1.0-compat.patch " builddir="$srcdir/$_pkgname-$pkgver" options="!check" # only lint/style tests build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" .dist/solo1-$pkgver-py3-none-any.whl install -Dm644 "$srcdir"/70-solokey.rules \ "$pkgdir"/usr/lib/udev/rules.d/70-solokey.rules } sha512sums=" 0ba86a86867b636298b6949ddcdfd3bf56facfb97f8f0b47bb5a3d5352a84fab9c9a89d51516fd03b0184d685be9707d0acb4968112a3d33437567c0d05750bc solo1-cli-0.1.1.tar.gz 190f20de90a21697d9b28c4ccc891332f55757c856a43b42e658d58d4694dc6f0f74027d2d3bb21a861e68f7faf321cb64b38df469d3a4638a9c053914c5a163 70-solokey.rules 87eb89cb84e15e4a15f00609e50c07b3d3f6dcff020c61d72f9c1e262a972d884659d700480f8fc7cf94648fe01da09e499a22f5c7f7c1cbf00d6022218d853c flit-core.patch e75b7d5098eee9e63b7129adaa6888db314dc94a4b2e57d1a6ecafb8272d22fb7f0d82c42a2b697839eb6e57fa1585a032341d6c09de1c0d2b7d35910a8e725b fido2-1.0-compat.patch "