2022-12-27 20:40:33 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
_pyname=webauthn
|
|
|
|
pkgname="py3-$_pyname"
|
2023-04-01 13:19:04 +00:00
|
|
|
pkgver=1.8.0
|
|
|
|
pkgrel=0
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2022-12-27 20:40:33 +00:00
|
|
|
pkgdesc="A Python3 implementation of the WebAuthn API focused on making it easy to leverage the power of WebAuthn."
|
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
|
|
license="BSD-3-CLAUSE"
|
|
|
|
depends="python3"
|
|
|
|
makedepends="py3-setuptools"
|
|
|
|
checkdepends="py3-pytest"
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
2023-01-12 18:48:03 +00:00
|
|
|
python3 setup.py build
|
2022-12-27 20:40:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
PYTHONPATH="$srcdir" pytest || true
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-01-12 18:48:03 +00:00
|
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
|
2022-12-27 20:40:33 +00:00
|
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
|
|
}
|
|
|
|
sha512sums="
|
2023-04-01 13:19:04 +00:00
|
|
|
70a6038bfa04583aebe1ea306d28de2b37ff3c0f0bbfce39749d2312ad0450257215d95fd388b99d84bdd7954f0c371ec90b3d2a951861c9ff6d1a0f3ef4df7b py3-webauthn-1.8.0.tar.gz
|
2022-12-27 20:40:33 +00:00
|
|
|
"
|