# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 78545 2011-05-11 12:26:24Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-scikits-learn
version             0.8
revision            0
categories-append   science
maintainers         stromnov openmaintaner

description         Easy-to-use and general-purpose machine learning in Python

long_description    scikits.learn is a Python module integrating classique \
                    machine learning algorithmes in the tightly-nit world of \
                    scientific Python packages (numpy, scipy, matplotlib).

platforms           darwin

homepage            http://scikit-learn.sourceforge.net/
master_sites        http://pypi.python.org/packages/source/s/scikits.learn/
distname            scikits.learn-${version}

checksums           md5     df0dd5ce8281e7b3f9f208128339011f \
                    sha1    6f6ca69254be2bc6e75ca0fcb955ba0fd863687e \
                    rmd160  7f9b9611c5b2ca7b50414e091ed60ef3a304def4

depends_lib-append  port:py26-numpy \
                    port:py26-scikits-module

post-destroot {
    # scikits/__init__.py is provided by scikits-module
    file delete ${destroot}${python.pkgd}/scikits/__init__.py
}

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "scikits.learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"
