# -*- 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-spake2
version             0.8
platforms           darwin
license             MIT
maintainers         nomaintainer

description         SPAKE2 password authenticated key exchange pure python
long_description    {*}${description}

homepage            https://github.com/warner/python-spake2

checksums           rmd160  556627a21bcaa79d01698c3d82f22b00d578cc9e \
                    sha256  c17a614b29ee4126206e22181f70a406c618d3c6c62ca6d6779bce95e9c926f4 \
                    size    58088

python.versions     38 39

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

    depends_lib-append port:py${python.version}-hkdf
}
