# -*- 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-igwn-auth-utils
version             1.1.1
revision            0

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

description         Authorisation utilities for IGWN
long_description    {*}${description}

homepage            https://git.ligo.org/computing/software/igwn-auth-utils

distname            igwn_auth_utils-${version}

checksums           rmd160  cd4f7f33d13caf9f7bb4f0eb38ce623b6f36b2ba \
                    sha256  be787dc31227c3b497f44d88440eb81a6e069225c57c66647a420d93fbe79476 \
                    size    31950

python.versions     312

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

    depends_lib-append \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-requests \
                    port:py${python.version}-safe-netrc \
                    port:py${python.version}-scitokens

    test.run        yes

    depends_test-append \
                    port:py${python.version}-requests-mock
}
