# -*- 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-cli-helpers
version             2.4.0
revision            0

license             BSD
supported_archs     noarch
platforms           {darwin any}
maintainers         nomaintainer
description         Helpers for building command-line apps
long_description    CLI Helpers is a Python package that makes it easy \
                    to perform common tasks when building command-line apps. \
                    It’s a helper library for command-line interfaces.

python.versions     310 311 312 313

homepage            https://pypi.python.org/pypi/${python.rootname}/
distname            cli_helpers-${version}

checksums           rmd160  b4f697f1f8c2db128312aae208038d00c3983b72 \
                    sha256  55903b705a212a473731db20fa26f58655e354078b99cb13c99ec06940287a4d \
                    size    36991

if {${name} ne ${subport}} {
    # wcwidth required to enable wide mode in python-tabulate
    depends_lib-append      port:py${python.version}-pygments \
                            port:py${python.version}-tabulate \
                            port:py${python.version}-configobj \
                            port:py${python.version}-wcwidth

    test.run        yes
}
