# -*- 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-mdp-toolkit
version             3.5
revision            0
categories-append   science
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 34 35 36

maintainers         {stromnov @stromnov} openmaintainer

description         Modular toolkit for Data Processing.
long_description    ${description}

homepage            http://mdp-toolkit.sourceforge.net/
master_sites        sourceforge:mdp-toolkit

distname            MDP-${version}

checksums           rmd160  143a23cfc22225a39ca8bee79a2975ad3dd8506e \
                    sha256  33f13804d32a2430caeef04f5cf3a11209a854ab78f5686b75cff4ed6bff812b

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-py \
                    port:py${python.version}-pytest

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

    test.run        yes
    test.cmd        py.test-${python.branch}
    test.target     mdp/test

    livecheck.type  none
}