# -*- 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-scitokens
version             1.8.1
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             Apache-2.0
maintainers         nomaintainer

description         SciToken reference implementation library
long_description    {*}${description}

homepage            https://scitokens.org

checksums           rmd160  5452012ef5dc93cef24c07d16f52a27b63112407 \
                    sha256  f255383d9c7402b3fcd20d5ed26a6b407b4be8bec6f282d0af29b6275382b54d \
                    size    48564

python.versions     312

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

    test.run        yes
}
