# -*- 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
# $Id: Portfile 92119 2012-04-19 11:06:51Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pyml
version             0.7.7
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:pyml
distname            PyML-${version}

checksums           md5 64d9a2b5fb2cd68cdda1f70e71a4530e \
                    sha1 9f165d1a1a946ddb52733d43e950e6c8a6824aa0

python.versions     25 26 27
python.default_version 27

if {$subport != $name} {
    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-matplotlib
    livecheck.type      none
} else {
    livecheck.distname  PyML
}
