# -*- 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-fastprogress
version             1.1.3
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         {reneeotten @reneeotten} openmaintainer

description         A nested progress with plotting options for fastai
long_description    {*}${description}

homepage            https://github.com/fastai/fastprogress

checksums           rmd160  2ade890b77b5fa22b643e79301e9a296db86dd6f \
                    sha256  2f7071beb93ce261ddb51d66b243a8517b421563a0107498e5885ed2d9136fca \
                    size    16753

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md CONTRIBUTING.md \
            LICENSE ${destroot}${docdir}
    }
}
