# -*- 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-itsdangerous
version             2.0.1
revision            0
epoch               1

checksums           rmd160  93d401e56c507015ffd662a483b825cd2e7a5c19 \
                    sha256  9e724d68fc22902a1435351f84c3fb8623f303fffcc566a4cb952df8c572cff0 \
                    size    59336

python.versions     27 35 36 37 38 39 310
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         {aronnax @lpsinger} openmaintainer
description         Various helpers to pass trusted data to untrusted environments and back
long_description    {*}${description}
homepage            https://palletsprojects.com/p/itsdangerous/



if {${name} ne ${subport}} {

    # https://trac.macports.org/ticket/64060
    if {${python.version} < 36} {
        version     1.1.0
        checksums   rmd160  3a1b71343357fd9cef28039753c78f0bf24d91ff \
                    sha256  321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19 \
                    size    53219
    }

    depends_build-append \
                    port:py${python.version}-setuptools

    test.run        yes

    livecheck.type  none
}
