# -*- 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$ PortSystem 1.0 PortGroup python 1.0 name py-scikits-learn version 0.12 revision 0 categories-append science license BSD platforms darwin maintainers stromnov openmaintainer 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). homepage http://scikit-learn.sourceforge.net/ master_sites http://pypi.python.org/packages/source/s/scikit-learn/ distname scikit-learn-${version} checksums rmd160 b025b1a302a78394a1069b62850467c46b105038 \ sha256 eb1838d636b3a4da6d0b08d6e55eefcf24aaa86327698204a7d66e1d0376bc2f python.default_version 27 python.versions 26 27 if {$subport != $name} { depends_lib-append \ port:py${python.version}-numpy \ port:py${python.version}-scipy \ port:py${python.version}-distribute \ port:py${python.version}-scikits-module post-patch { # Normalize file attributes (see #34437) system "chmod -R go+rX ${worksrcpath}" } 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 "scikit-learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"