# -*- 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-proglog
version             0.1.10
revision            0
categories-append   devel

license             MIT
maintainers         nomaintainer
platforms           {darwin any}

description         Log and progress bar manager for console, notebooks, web...

long_description    Proglog is a progress logging system for \
                    Python. It allows to build complex libraries while \
                    giving your users control over logs, callbacks and \
                    progress bars.

homepage            https://github.com/Edinburgh-Genome-Foundry/Proglog/

checksums           rmd160  400f785176238d79ee19b7ee54eed129a5ca9594 \
                    sha256  658c28c9c82e4caeb2f25f488fff9ceace22f8d69b15d0c1c86d64275e4ddab4 \
                    size    11088

supported_archs     noarch

python.versions     310

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-tqdm

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst \
            ${destroot}${docdir}
    }
}
