# -*- 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-pyml
version             0.7.14
platforms           darwin
license             LGPL-2.1+
maintainers         gmail.com:chiszp openmaintainer
description         Machine learning framework for SVMs and other kernel methods
long_description    ${description}

homepage            http://pyml.sourceforge.net/
master_sites        sourceforge:project/pyml
distname            PyML-${version}

checksums           rmd160  3e1ac192c1ed12658cbf4f26c272099c4a855b4c \
                    sha256  8462c9ee50aaf14a225f632b9a945c1c6d8eb2c1689295b05932f493ca021edd

python.versions     27

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

    livecheck.type      none
} else {
    livecheck.regex     PyML-(\[0-9.\]+)${extract.suffix}
}