27 lines
808 B
Bash
27 lines
808 B
Bash
# Template file for 'python3-fido2'
|
|
pkgname=python3-fido2
|
|
_pkgname=fido2
|
|
version=0.9.1
|
|
revision=1
|
|
wrksrc="${_pkgname}-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-six python3-cryptography python3-pyscard"
|
|
# Missing fakefs will be pulled from pypi
|
|
checkdepends="$depends python3-mock python3-pytest"
|
|
short_desc="Library for FIDO2 functionality"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/Yubico/python-fido2"
|
|
distfiles="${PYPI_SITE}/f/${_pkgname}/${_pkgname}-${version}.tar.gz"
|
|
checksum=8680ee25238e2307596eb3900a0f8c0d9cc91189146ed8039544f1a3a69dfe6e
|
|
|
|
post_extract() {
|
|
# pytest mis-recognises this file as a test case
|
|
rm -f examples/test_config.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|