# -*- 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-pyte
version             0.8.2
revision            0

license             MIT
maintainers         nomaintainer
platforms           {darwin any}
supported_archs     noarch

description         an in memory VTXXX-compatible terminal emulator
long_description    It’s {*}${description}. XXX stands for a series of video terminals, \
                    developed by DEC between 1970 and 1995. The first, and probably the \
                    most famous one, was VT100 terminal, which is now a de-facto standard \
                    for all virtual terminal emulators. pyte follows the suit.

homepage            https://github.com/selectel/pyte

checksums           rmd160  bf0fe98427acaec005b205f62ebfbc7537d1d43b \
                    sha256  5af970e843fa96a97149d64e170c984721f20e52227a2f57f0a54207f08f083f \
                    size    92301

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools \
                            port:py${python.version}-pytest-runner
    depends_lib-append      port:py${python.version}-wcwidth

    test.run        yes
    test.args       -k 'not test_input_output'
}
