# -*- 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
PortGroup           github 1.0

github.setup        niltonvolpato python-progressbar 787b3d4f22b291af29e4f2888a6a74dffd8db0ba
name                py-progressbar
version             2.5.20251208

categories-append   devel
license             LGPL-2.1+
maintainers         nomaintainer

description         Text progressbar library for python
long_description \
    This library provides a text mode progressbar. This is typically used to \
    display the progress of a long running operation, providing a visual clue \
    that processing is underway.

homepage            https://github.com/niltonvolpato/python-progressbar

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  521b127088d808272daf47b69478379aeba2571a \
                    sha256  da95c65283be1a84ffc0550ee65d65ebfd9ed2e1c74368d4d42745a82eb5aef1 \
                    size    11587

python.versions     27 310 311 312 313 314

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

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt ${destroot}${docdir}
    }
}
