# -*- 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.2.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  9e47a5ee4674398719e567dd546960fbb366003d \
                    sha256  ede29d046ff454fe56b941f686f89dd9389430c4a5b7658e445cb0b80e0e4deb \
                    size    113231

python.versions     39 310 311 312

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
    }
}
