# -*- 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
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 https://pypi.python.org/packages/source/s/scikit-learn/
distname scikit-learn-${version}
checksums rmd160 eb47180da94eac22689ccd3464c9ba5eb0ae216c \
sha256 c0721e295056c95c7002e05726f2bd271a7923e88bdeab34a2b60aac2b0ee6e4
if {${name} ne ${subport}} {
# scikit-learn package requires Python 2.6, 2.7 or 3.4+
if {[lsearch {26 27 34} ${python.version}] == -1} {
distname scikit-learn-${version}
checksums rmd160 a372e7d1e8eb09be6fd1b4d791f05e049f5a87f4 \
sha256 34821b8f460bdb7aba8eb882353bacbd01671bfb8057649ffcdce7f7ffa4a21d
# Stealth update for 0.14.1
dist_subdir ${name}/${version}_1
depends_lib-append port:py${python.version}-numpy \
port:py${python.version}-scipy
livecheck.url https://pypi.python.org/pypi/scikit-learn/json
livecheck.regex "scikit-learn-(\\d+(?:\\.\\d+)*)${extract.suffix}"