# -*- 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-rich-click
python.rootname     rich_click
version             1.9.7
revision            0

license             MIT
supported_archs     noarch
platforms           {darwin any}
maintainers         {@harens harens} openmaintainer

description         Format click help output nicely with rich
long_description    rich-click aims to provide attractive help output from click, \
                    formatted with rich, with minimal customisation required.

homepage            https://github.com/ewels/rich-click

checksums           rmd160  d734edb33d4ab95ce1c50348426bc3ac12e87e7e \
                    sha256  022997c1e30731995bdbc8ec2f82819340d42543237f033a003c7b1f843fc5dc \
                    size    74838

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_run-append  port:py${python.version}-click \
                        port:py${python.version}-rich

    if {${python.version} < 311} {
        depends_run-append \
                        port:py${python.version}-typing_extensions
    }
}
