# -*- 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             1.0.1
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 34 35 36

homepage            https://pypi.python.org/pypi/${python.rootname}/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            cli_helpers-${version}

checksums           rmd160  d9a431a99f9a605bab1837d385c5cf7d41549d0a \
                    sha256  55353117960700dfbe000a71cda0bad1ac865e3a9999f1fa81047fa9e1322d42

if {${name} ne ${subport}} {
    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
    if {${python.version} eq 27} {
        depends_lib-append      port:py${python.version}-backports.csv \
    }
    livecheck.type  none
} else {
    livecheck.type  pypi
}