# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-fido2
version             1.2.0
revision            1
categories          python security crypto
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         {amake @amake} openmaintainer

homepage            https://github.com/Yubico/python-fido2

description         Library for working with FIDO devices

long_description    Provides library functionality for communicating with a \
                    FIDO device over USB as well as verifying attestation \
                    and assertion signatures.

checksums           rmd160  2cf72565783670b9a53e246311527272f47d0b64 \
                    sha256  e39f95920122d64283fda5e5581d95a206e704fa42846bfa4662f86aa0d3333b \
                    size    266369

patchfiles          e2eb7d4a52a762795c1a8aa9804f184b11b5e64d.patch

python.versions     39 310 311 312

python.pep517_backend poetry

if {${name} ne ${subport}} {
    depends_lib-append \
        port:py${python.version}-cryptography
}
