# -*- 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-argparse
version             1.7.2
distname            rich_argparse-${version}
revision            0

license             MIT
supported_archs     noarch
platforms           any
maintainers         nomaintainer

description         Format argparse and optparse help using rich
long_description    {*}${description}. rich-argparse improves \
                    the look and readability of argparse's help while \
                    requiring minimal changes to the code

homepage            https://github.com/hamdanal/rich-argparse

checksums           rmd160  232cc5379bd89c17a707df4f6473ea1aec308c05 \
                    sha256  64fd2e948fc96e8a1a06e0e72c111c2ce7f3af74126d75c0f5f63926e7289cd1 \
                    size    38500

python.versions     310 311 312 313 314

python.pep517_backend hatch

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