# -*- 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-alive-progress
version             3.3.0
revision            0

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

description         A new kind of Progress Bar, with real time throughput, ETA and very cool animations!
long_description    {*}${description}

homepage            https://github.com/rsalmei/alive-progress

checksums           rmd160  2576c21b14b799176bae1eceb1769732ddafe9e1 \
                    sha256  457dd2428b48dacd49854022a46448d236a48f1b7277874071c39395307e830c \
                    size    116281

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-about-time \
                    port:py${python.version}-grapheme

    post-destroot {
        file delete -force ${destroot}/${python.prefix}/LICENSE
    }
}
