void-packages/srcpkgs/python3-fido2/template

26 lines
776 B
Bash

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