ayaports/testing/py3-webauthn/APKBUILD

36 lines
979 B
Text
Raw Normal View History

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"
pkgver=1.11.1
2023-04-01 13:19:04 +00:00
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"
2023-08-30 17:56:00 +00:00
license="BSD-3-Clause"
makedepends="
py3-setuptools
py3-gpep517
py3-wheel
py3-installer
"
options="!check" # No testsuite
2022-12-27 20:40:33 +00:00
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
2023-08-30 17:56:00 +00:00
subpackages="$pkgname-pyc"
2022-12-27 20:40:33 +00:00
build() {
2023-08-30 17:56:00 +00:00
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
2022-12-27 20:40:33 +00:00
}
package() {
2023-08-30 17:56:00 +00:00
python3 -m installer -d "$pkgdir" \
dist/*.whl
2022-12-27 20:40:33 +00:00
}
sha512sums="
29e3df7adfed9fdbe8bfe264e207c45e2426ec10c48daf90347a7fe6070f00280c8102da00335a8f5b9b7efeba9fa2fe033dcaf656ec4f95a7566bcc6a5729b2 py3-webauthn-1.11.1.tar.gz
2022-12-27 20:40:33 +00:00
"