# -*- 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-mlpy
version             3.5.0
revision            1
categories-append   lang python science
license             GPL-3+
maintainers         {aronnax @lpsinger} openmaintainer
description         Python package for predictive modeling
long_description    \
    mlpy is a high-performance Python package for predictive modeling. \
    It makes extensive use of NumPy (http://scipy.org) to provide fast \
    N-dimensional array manipulation and easy integration of C code. mlpy \
    provides high level procedures that support, with few lines of code, \
    the design of rich Data Analysis Protocols (DAPs) for preprocessing, \
    clustering, predictive classification and feature selection. Methods \
    are available for feature weighting and ranking, data resampling, \
    error evaluation and experiment landscaping. The package includes \
    tools to measure stability in sets of ranked feature lists.

platforms           darwin

homepage            http://mlpy.sourceforge.net
master_sites        sourceforge:mlpy
master_sites.mirror_subdir \
                    "/mlpy%20${version}"
distname            mlpy-${version}

checksums           sha1    32f986f7f0f7cce5c773d2909d34705eab39df16

python.versions     26 27 33 34 35 36

if {${name} ne ${subport}} {
    depends_build   port:py${python.version}-setuptools

    depends_lib-append \
                    port:gsl \
                    port:py${python.version}-cython \
                    port:py${python.version}-numpy \
                    port:py${python.version}-scipy

    livecheck.type  none
}

livecheck.regex     "mlpy-(\\d+(\\.\\d+)+)"