# -*- 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
categories-append science
python.versions 26 27 33 34 35 36
maintainers stromnov openmaintainer
description Easy-to-use and general-purpose machine learning in Python
long_description Scikit-learn integrates machine learning algorithms \
in the tightly-knit scientific Python world, building upon \
numpy, scipy, and matplotlib. As a machine-learning module, \
it provides versatile tools for data mining and analysis \
in any field of science and engineering.
homepage http://scikit-learn.org/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 0c17d3083be1c36a05192bf5e8d76669b1ca3696 \
sha256 1eddfc27bb37597a5d514de1299981758e660e0af56981c0bfdf462c9568a60c
if {${name} ne ${subport}} {
# scikit-learn package requires Python 2.6, 2.7 or 3.4+
if {${python.version} == 33} {
distname scikit-learn-${version}
checksums rmd160 a372e7d1e8eb09be6fd1b4d791f05e049f5a87f4 \
sha256 34821b8f460bdb7aba8eb882353bacbd01671bfb8057649ffcdce7f7ffa4a21d
# Stealth update for 0.14.1
dist_subdir ${name}/${version}_1
} elseif {${python.version} == 26} {
distname scikit-learn-${version}
checksums rmd160 eb47180da94eac22689ccd3464c9ba5eb0ae216c \
sha256 c0721e295056c95c7002e05726f2bd271a7923e88bdeab34a2b60aac2b0ee6e4
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-numpy \
port:py${python.version}-scipy