# -*- 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.0.2
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           md5 89ebb783230fc8db6c1d2a39644b7085 \
                    rmd160 171fe764e5f3d3ba47e4fc098fc34f829a89c1f5 \
                    sha256 b6929defd93884b584d7c87829e0e7b5c26ed6be17b0b873979019314aa841c8

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
    }
}
