# -*- 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-bitmath
version             1.3.3.1
revision            0

supported_archs     noarch
platforms           {darwin any}
license             MIT

maintainers         nomaintainer

description         Pythonic module for representing and manipulating file \
                    sizes with different prefix notations (file size unit \
                    conversion)
long_description    {*}${description}

homepage            https://github.com/tbielawa/bitmath

checksums           rmd160  c195d27c3268fe5a669e4c2b743ed7f12fb40e2b \
                    sha256  293325f01e65defe966853111df11d39215eb705a967cb115851da8c4cfa3eb8 \
                    size    88519

python.versions     310 311 312 313

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

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

    test.run        yes
}
