# -*- 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-yaspin
version             3.4.0
revision            0
license             MIT
supported_archs     noarch
platforms           {darwin any}

maintainers         {@harens harens} openmaintainer

description         Yaspin is a lightweight terminal spinner for Python with safe pipes and redirects
long_description    {*}${description}. It provides a full-featured terminal spinner to show the progress \
                    during long-hanging operations.

homepage            https://github.com/pavdmyt/yaspin

checksums           rmd160  c093085d2b0ebc34ada7c40f9a6abeb10861765c \
                    sha256  a83a81ac7a9d161e116fb668a7e4d10d87fb18d02b4b08a17b7e472f465f3c90 \
                    size    42396

python.versions     310 311 312 313 314

python.pep517_backend poetry

if {${name} ne ${subport}} {
    depends_run-append \
                        port:py${python.version}-termcolor
    test.run            yes
}
