python3-fido2: fix do_check()

This commit is contained in:
Đoàn Trần Công Danh 2021-01-24 12:25:26 +07:00
parent 62444a29c5
commit 90c1aa7829
1 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,7 @@ 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"
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"
@ -16,6 +16,11 @@ homepage="https://github.com/Yubico/python-fido2"
distfiles="${PYPI_SITE}/f/${_pkgname}/${_pkgname}-${version}.tar.gz"
checksum=468f8657cc5b8b149e38a1735fbf5cd65e01a340a11a585caf4e6bade8c4b735
post_extract() {
# pytest mis-recognises this file as a test case
rm -f examples/test_config.py
}
post_install() {
vlicense COPYING
}