# -*- 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-colorama
version             0.4.6
revision            0

categories-append   devel
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         Cross-platform colored terminal text
long_description    {*}${description} Makes ANSI escape character sequences, for \
                    producing colored terminal text and cursor positioning, work \
                    under MS Windows.

homepage            https://github.com/tartley/colorama

checksums           rmd160  b26ba993787e8f07ea088458b68d02acae1d5774 \
                    sha256  08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
                    size    27697

python.versions     27 310 311 312 313 314
python.pep517_backend   hatch

if {${name} ne ${subport}} {
    if {${python.version} == 27} {
        version         0.4.5
        revision        1
        checksums       rmd160  9fffa7f3b59aa76fae923e4be2323c0cb3b9f1d5 \
                        sha256  e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4 \
                        size    27469
    }

    test.run        yes
    test.args       "-p \*_test.py"
    python.test_framework unittest

    livecheck.type  none
}
