# -*- 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-pskc
version             1.4
revision            0
categories          python security crypto
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         {amake @amake} openmaintainer

homepage            https://arthurdejong.org/python-pskc/

description         A library to handle Portable Symmetric Key Container (PSKC) files

long_description \
    A Python module to handle Portable Symmetric Key Container (PSKC) files as defined \
    in RFC 6030. PSKC files are used to transport and provision symmetric keys and key \
    meta data (seed files) to different types of crypto modules, commonly one-time password \
    systems or other authentication devices.

checksums           rmd160  1cae91d0d590ce726e90d909d0543cdb5ec59c82 \
                    sha256  4a36381446ca067be728b30e01b4d18dbd9d1ad553bf07c3710abcd87653eefe \
                    size    138221

python.rootname     python_pskc

python.versions     310 311 312 313 314

python.pep517_backend poetry

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

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