# -*- 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.5
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  a2c509246f739a18d677ac12f0fddc5642b1bd27 \
                    sha256  ae6fd1ff50ed37cbdf11e5796eead440e7a95eb061d2969e1092e10b10f2a144 \
                    size    15804

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}
    }
}
