# -*- 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-tomlrt
version             2.3.3
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {deldycke.com:kevin @kdeldycke} openmaintainer

description         Format-preserving TOML reader and writer
long_description    tomlrt parses a TOML document, lets a program edit it, \
                    and writes it back with the parts it did not touch kept \
                    as they were: comments, whitespace, string style and \
                    number formatting.

homepage            https://github.com/dimbleby/tomlrt

checksums           rmd160  3113fa2a4c8da1786fa261ecdbd6e1f47ad072a9 \
                    sha256  36782cf6821cd1962f34a548c2023984e4a60e32f286c36d7dc1430b77ac59ba \
                    size    137213

python.versions     311 312 313 314
python.pep517_backend flit

# No test phase: the sdist ships no test suite.
if {${name} ne ${subport}} {
    if {${python.version} < 312} {
        depends_lib-append \
                    port:py${python.version}-typing_extensions
    }
}
