# -*- 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 67243 2010-05-03 10:46:14Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-scikits-learn
version             0.3
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     aa91ed0275964cc4b01c8205803d0a87 \
                    sha1    666859a8fdfb75e556ada083c3a1ef79e729ab5b \
                    rmd160  6c174c9ee304e827213004e31e218ea1643d89d5

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}"
