# -*- 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-click-spinner
version             0.1.10
revision            0

platforms           {darwin any}
license             MIT
supported_archs     noarch

maintainers         {@harens gmail.com:harensdeveloper} \
                    openmaintainer

description         A simple spinner library
long_description    {*}${description}. Sometimes you would just like to show \
                    the user some progress, but a progress bar is not suitable \
                    because you don’t know how much longer it would take. In these \
                    cases you might want to display a simple spinner using the spinner() function.

homepage            https://github.com/click-contrib/click-spinner

checksums           rmd160 43dfb738f28b36b24ea3b54ff934062bb6407b53 \
                    sha256 87eacf9d7298973a25d7615ef57d4782aebf913a532bba4b28a37e366e975daf \
                    size   18720

python.versions     313

if {${subport} ne ${name}} {
    post-extract {
        file delete -force ${worksrcpath}/versioneer.py
    }

    depends_build-append \
                    port:py${python.version}-versioneer

    depends_test-append \
                    port:py${python.version}-click \
                    port:py${python.version}-six

    test.run        yes
}
