# -*- 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.1.0
revision            0

license             BSD
platforms           darwin
supported_archs     noarch
maintainers         {@xeron gmail.com:xeron.oskom} openmaintainer
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     27 36 37 38 39

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

checksums           rmd160  775c87153e032a7390edb777e5c50eee3451a9b2 \
                    sha256  dd6f164310f7d86fa3da1f82043a9c784e44a02ad49be932a80624261e56979b \
                    size    35491

if {${name} ne ${subport}} {
    if {${python.version} eq 27} {
        version     1.2.1
        revision    0
        distname    cli_helpers-${version}
        checksums   rmd160  43a2cae1665068950f75f0e469954dfa19af4d02 \
                    sha256  98db22eaa86827d99ee6af9f5f3923142d04df256425204530842b032849a165 \
                    size    31718

        depends_lib-append  port:py${python.version}-backports.csv
    }

    depends_build-append    port:py${python.version}-setuptools

    depends_lib-append      port:py${python.version}-pygments \
                            port:py${python.version}-tabulate \
                            port:py${python.version}-terminaltables

    livecheck.type  none
}
