diff --git a/srcpkgs/python3-fido2/template b/srcpkgs/python3-fido2/template index 4cdc7f23cac..687bd065903 100644 --- a/srcpkgs/python3-fido2/template +++ b/srcpkgs/python3-fido2/template @@ -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 " 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 }