35 lines
977 B
Text
35 lines
977 B
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
_pyname=webauthn
|
|
pkgname="py3-$_pyname"
|
|
pkgver=1.9.0
|
|
pkgrel=0
|
|
arch="noarch"
|
|
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"
|
|
makedepends="
|
|
py3-setuptools
|
|
py3-gpep517
|
|
py3-wheel
|
|
py3-installer
|
|
"
|
|
options="!check" # No testsuite
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
subpackages="$pkgname-pyc"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
sha512sums="
|
|
d9c538f6c62792cd7e2e4bafb77b7d3735f2ae4484ff8cafdcd6ac5f9355e2e0f7da6fc996b85f489294eb504b3e4c012ce717fa103d1689eb2bd5351f158f27 py3-webauthn-1.9.0.tar.gz
|
|
"
|