void-packages/srcpkgs/python3-fido2/template

26 lines
776 B
Bash

# Template file for 'python3-fido2'
pkgname=python3-fido2
_pkgname=fido2
version=1.1.0
revision=1
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=2b4b4e620c2100442c20678e0e951ad6d1efb3ba5ca8ebb720c4c8d543293674
post_extract() {
# pytest mis-recognises this file as a test case
rm -f examples/test_config.py
}
post_install() {
vlicense COPYING
}