# -*- 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-flit_core
version             3.9.0
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer
license             BSD

description         Distribution-building parts of Flit.

long_description    {*}${description}

homepage            https://github.com/takluyver/flit

checksums           md5 3bc52f1952b9a78361114147da63c35b \
                    rmd160 78d21c84e0922e6e7a136735d807be2942e38124 \
                    sha256 72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba \
                    size 41917

python.versions     36 37 38 39 310 311 312

python.pep517       yes
python.pep517_backend   other

if {$subport ne $name} {
    if {${python.version} < 311} {
        depends_run-append  port:py${python.version}-tomli
    }
    patchfiles      zip-timestamps.patch
    livecheck.type  none
}
