# -*- 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-pybcj
version             1.0.6
revision            0

license             LGPL-2.1+
maintainers         nomaintainer

description         bcj filter library
long_description    {*}${description}

homepage            https://codeberg.org/miurahr/pybcj

checksums           rmd160  6837111acb6675dbaa75f9cee27c24acdce03933 \
                    sha256  70bbe2dc185993351955bfe8f61395038f96f5de92bb3a436acb01505781f8f2 \
                    size    2112413

python.versions     310 311 312 313 314

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

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

    test.run        yes
}
