# -*- 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             2.1.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  f81dce00029beeb5ef60b47b7ebec90d0f20d4ec \
                    sha256  56f2cda86b1f0aa6470f4aaa90f82ef029f0e16c31b66f0fdd9d67613bc5e9f0 \
                    size    112001

python.versions     311 312 313 314 315
python.pep517_backend hatch

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

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

    test.run        yes
}
