# -*- 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
PortGroup           github 1.0

name                py-fido2
github.setup        Yubico python-fido2 0.4.0
categories          python security crypto
platforms           darwin
license             BSD
maintainers         {amake @amake} openmaintainer

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  52e3b90a65cfe37163e3b813d7c51ce43b4c69af \
                    sha256  25748422e4405433259d87a1a5567f91eb646e36ecf8ea2a36f3734e6af6f762 \
                    size    153688

python.versions     27 35 36

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

    depends_lib-append \
        port:py${python.version}-six \
        port:py${python.version}-cryptography

    livecheck.type  none
}