# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-scikit-learn version 0.18 revision 0 categories-append science platforms darwin license BSD python.versions 26 27 33 34 35 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 db3c0fb457106661d5476adbf56893d78d70eb0a \ sha256 240009789d6495240b332e059cbd2499f4d2981c93873983c9e1d5189f90315f if {${name} ne ${subport}} { # scikit-learn package requires Python 2.6, 2.7 or 3.4+ if {${python.version} == 33} { version 0.14.1 revision 1 distname scikit-learn-${version} checksums rmd160 a372e7d1e8eb09be6fd1b4d791f05e049f5a87f4 \ sha256 34821b8f460bdb7aba8eb882353bacbd01671bfb8057649ffcdce7f7ffa4a21d # Stealth update for 0.14.1 dist_subdir ${name}/${version}_1 } elseif {${python.version} == 26} { version 0.16.1 revision 0 distname scikit-learn-${version} checksums rmd160 eb47180da94eac22689ccd3464c9ba5eb0ae216c \ sha256 c0721e295056c95c7002e05726f2bd271a7923e88bdeab34a2b60aac2b0ee6e4 } depends_build-append \ port:py${python.version}-setuptools depends_lib-append port:py${python.version}-numpy \ port:py${python.version}-scipy livecheck.type none } else { livecheck.type pypi }