# -*- 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-click-extra
version             8.4.0
revision            0

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

description         Drop-in replacement for Click to build user-friendly \
                    and colorful CLIs
long_description    Click Extra is a collection of helpers and utilities \
                    for Click, the Python CLI framework. It provides \
                    colorful help screens, configuration file loading, \
                    logging management, table rendering and platform \
                    detection to Click-based tools.

homepage            https://github.com/kdeldycke/click-extra

python.rootname     click_extra

checksums           rmd160  64af88de5df1af7a72a249d33f5367af493b8b7d \
                    sha256  92e5441824126248c61b05471ecacb6403e45a0b0b743f6babf425abb4c217de \
                    size    362743

python.versions     311 312 313 314
python.pep517_backend uv

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-boltons \
                    port:py${python.version}-click \
                    port:py${python.version}-cloup \
                    port:py${python.version}-deepmerge \
                    port:py${python.version}-extra-platforms \
                    port:py${python.version}-tabulate \
                    port:py${python.version}-wcmatch \
                    port:py${python.version}-wcwidth
}
