# -*- 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-pebl
version             1.0.2
revision            1
maintainers         nomaintainer

categories-append   science math
license             MIT
description         Pebl is a python library and application for learning the structure of a Bayesian network.
long_description    {*}${description}

homepage            https://pythonhosted.org/${python.rootname}/

checksums           size    2489864 \
                    rmd160  0d6ef1e18416c27cddb5c5c44099c3c3b6425ab6 \
                    sha256  8458e05f596b67755f5ee83474a71a3152fa09f7405494109cba0d3d9d0932e9 \

python.versions     27

if {$subport ne $name} {
    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-parsing \
                        port:py${python.version}-pydot
} else {
    # workaround for version scheme mismatch 1.01 vs. 1.0.2
    livecheck.regex "\"${python.rootname}-\(\\d+\(?:\\.\\d+\){2,}\)\\${extract.suffix}\""
}
