# -*- 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-cmd2
version             1.2.1
platforms           darwin
maintainers         nomaintainer
license             MIT
supported_archs     noarch

description         Tool for building interactive command line applications in Python
long_description    ${description}
homepage            https://github.com/python-cmd2/cmd2
checksums           md5     0ab5f4d8ad6a9099202ed887358102f2 \
                    rmd160  afa8c654067684477b3bbc235d16a75fe0737887 \
                    sha256  5a5d3361fadada16cae0c99b65eba5d49d587fc2e02b3afb058da1872871e7a9 \
                    size    623518

python.versions     36 37 38

if {${subport} ne ${name}} {
    depends_build-append \
                    port:py${python.version}-setuptools \
                    port:py${python.version}-setuptools_scm

    depends_run-append \
                    port:py${python.version}-attrs \
                    port:py${python.version}-colorama \
                    port:py${python.version}-importlib-metadata \
                    port:py${python.version}-pyperclip \
                    port:py${python.version}-wcwidth \
                    port:py${python.version}-gnureadline
}
