# -*- 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             2.1.1
revision            0
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  a6998be447eca9e09b6c2d3fc9a0f4f45d5de7fa \
                    sha256  f1379f845870cc7fc64c7f07323c3ce41e8c96c37054e79e0acd5630b3fec5ac \
                    size    4455940

python.versions     310 311 312 313

python.pep517_backend poetry

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