ayaports/testing/py3-webauthn/APKBUILD

36 lines
977 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"
2023-08-30 17:56:00 +00:00
pkgver=1.9.0
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="
2023-08-30 17:56:00 +00:00
d9c538f6c62792cd7e2e4bafb77b7d3735f2ae4484ff8cafdcd6ac5f9355e2e0f7da6fc996b85f489294eb504b3e4c012ce717fa103d1689eb2bd5351f158f27 py3-webauthn-1.9.0.tar.gz
2022-12-27 20:40:33 +00:00
"