# -*- 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-boolean.py
version             5.0
revision            0
checksums           rmd160  852beacc914cfec591b4045c859749cfd942d286 \
                    sha256  60cbc4bad079753721d32649545505362c754e121570ada4658b852a3a318d95 \
                    size    37047

python.rootname     boolean_py
supported_archs     noarch
platforms           {darwin any}
maintainers         nomaintainer
license             BSD

description         Define boolean algebras, create and parse boolean \
                    expressions and create custom boolean DSL.
long_description    {*}${description}

homepage            https://github.com/bastikr/boolean.py

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_test-append port:py${python.version}-pytest
    test.run            yes
    test.cmd            py.test-${python.branch} boolean/test_boolean.py
    test.target
}
