summaryrefslogtreecommitdiff
path: root/community/py3-fido2/APKBUILD
blob: a830ffb75c99dcb974648e5d8f91125bad72c5c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Daniel Everett <deverett@gmail.com>
# Maintainer: Daniel Everett <deverett@gmail.com>
pkgname=py3-fido2
_pkgname=${pkgname#py3-}
pkgver=1.1.0
pkgrel=1
pkgdesc="Provides library functionality for FIDO 2.0, including communication with a device over USB"
url="https://developers.yubico.com/python-fido2/"
arch="noarch"
license="BSD-2-Clause AND Apache-2.0 AND MPL-2.0"
depends="python3 py3-cryptography py3-six"
makedepends="py3-setuptools"
checkdepends="py3-cparser py3-mock py3-pyfakefs"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

check() {
	python3 -m unittest discover -v
}

sha512sums="
df7fcf205a5c124daf14c4bb7742aa16def1e912490c3b967dd940fdb21baf1a933130eab276af7c03fb46fb779a5a2b8e5fa3d8e3cd379297c23d9f39cadba4  fido2-1.1.0.tar.gz
"