# -*- 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.0.3
revision            1

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  cde4e0339be7b087393ad9e7430c6d1fc88c66b6 \
                    sha256  7a17d2b438890f838c048eefce32c4ded47197ecc8ea042cecc33d3deb8022f5 \
                    size    14920

python.versions     39 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}
    }
}
