# -*- 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             4.1.0
revision            0
platforms           {darwin any}
supported_archs     noarch
maintainers         {jmr @jmroot} openmaintainer
license             BSD

description         Distribution-building parts of Flit.
long_description    {*}${description}

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

checksums           rmd160 18f9297e9643a6d3adf480f807548a7b55b858be \
                    sha256 62e12b63ead8335b37f59fabb977c7167fe476dafb5e41785dfa8c9aff843bc6

python.versions     37 38 39 310 311 312 313 314

python.pep517_backend

if {$subport ne $name} {
    patchfiles      zip-timestamps.patch

    if {${python.version} == 37} {
        version     3.12.0
        revision    0
        checksums   md5 c538415c1f27bd69cbbbf3cdd5135d39 \
                    rmd160 26a073eff618f9415815667608a8ffe5c33c9a9a \
                    sha256 18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2
    }
    livecheck.type  none
}
