# -*- 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
PortGroup           github 1.0

github.setup        miurahr pybcj 1.0.8 v
github.tarball_from archive
name                py-${github.project}
revision            0

license             LGPL-2.1+
maintainers         nomaintainer

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

homepage            https://github.com/miurahr/pybcj

checksums           rmd160  290de77bb273e06be7aa82c1f8c2620e5de9b63b \
                    sha256  c5dcda1403301f6f70db40a8b7e89dab4d230a3b634a529b98820d351d874eeb \
                    size    2109272

python.versions     311 312 313 314 315

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

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

    test.run        yes
}
