{% set version = "0.19.1" %}
{% set buildnumber = 35 %}

package:
    name: scikit-learn
    version: {{version}}

source:
    git_url: https://github.com/scikit-learn/scikit-learn.git
    git_tag: {{version}}
    patches:
      - intel_daal4sklearn.patch      [not nomkl and (unix or py3k)]
      - adjust_preprocessing_data_test.patch
      - intel_standard_scaler.patch
      - tsne-no-needless-clock.patch
      - setup-fix.patch

requirements:
    build:
      - python
      - setuptools
      - numpy x.x
      - scipy
      - pydaal 2019.*           [not nomkl and (unix or py3k)]
      - mkl-devel >=2019.0      [not nomkl]
      - openblas 0.2.14         [linux and nomkl and (not ppc64le)]
      - cython
    run:
      - python
      - numpy x.x
      - scipy
      - pydaal 2019.*           [not nomkl and (unix or py3k)]
      - mkl  >=2019.0           [not nomkl]
      - openblas 0.2.14         [linux and nomkl and (not ppc64le)]
      - intelpython >=2019.0


build:
    number: {{buildnumber}}
    features:
      - nomkl                   [nomkl]

test:
    files:
      - intel_tester_config.py
    commands:
      - python -c "from intel_tester import test_routine; test_routine.test_exec()"
    requires:
      - intel_tester
      - nose
      - setuptools
      - matplotlib
      - pandas
    imports:
      - sklearn

about:
    home: http://scikit-learn.org/stable/
    license: 3-clause BSD
    license_family: BSD
    license_file: COPYING
    summary: A set of python modules for machine learning and data mining
