# -*- 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-curtsies
version                 0.4.2
revision                0

platforms               {darwin any}
supported_archs         noarch
maintainers             {aronnax @lpsinger} openmaintainer
license                 MIT
description             Curses-like terminal wrapper, with colored strings
long_description        {*}${description}

homepage                https://curtsies.readthedocs.io

checksums               rmd160  b6fa281449d916cab8089e599bc21f635a95d0b1 \
                        sha256  6ebe33215bd7c92851a506049c720cca4cf5c192c1665c1d7a98a04c4702760e \
                        size    53559

python.versions         39 310 311

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-cwcwidth \
                        port:py${python.version}-blessed

    test.run            yes
    depends_test-append port:py${python.version}-pyte
}
