# -*- 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 3f63b2f974cbdea4484dfad38a5522d369450d01
name                py-progressbar
version             2.5.20180626
license             LGPL-2.1+
maintainers         {@catap korins.ky:kirill} openmaintainer

platforms           {darwin any}
supported_archs     noarch

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.

categories-append   devel

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

checksums           rmd160  fe6d08f7d30314d2d77acfc867a0587af1e3d8e3 \
                    sha256  f4ac55c2f4bee572f7219d6208adfeadf011c1e610fe03f56ba1109dbf750ccf \
                    size    10528

python.versions     27 38 39 310 311

if {${name} ne ${subport}} {
    depends_build   port:py${python.version}-setuptools

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