# -*- 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             1.1.0
python.versions     27 35 36 37 38
license             BSD
platforms           darwin
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/

checksums           rmd160  3a1b71343357fd9cef28039753c78f0bf24d91ff \
                    sha256  321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19 \
                    size    53219

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

    test.run        yes
    test.cmd        ${python.bin} tests.py
    test.target

    livecheck.type  none
}
