{% set version = "2.1.2" %}

package:
  name: bob.learn.linear
  version: {{ version }}

source:
  fn: bob.learn.linear-{{ version }}.zip
  md5: 680a4c24f9e33e8f272aaa89cf7258e1
  url: https://pypi.io/packages/source/b/bob.learn.linear/bob.learn.linear-{{ version }}.zip

build:
  number: 0
  skip: true  # [win]

requirements:
  build:
    - toolchain 2.3.2
    - python
    - setuptools
    - bob.extension >2.0.4
    - bob.blitz
    - bob.core
    - bob.io.base
    - bob.math
    - bob.learn.activation
    # bob.io.matlab may be removed from dependencies in future
    - bob.io.matlab
    - cmake
    - scipy
    - pkg-config
    - libblitz 0.10|0.10.*
    - boost 1.61.*
    - numpy x.x
    - gcc 4.8.5  # [linux]
    - libgcc 4.8.5  # [linux]

  run:
    - python
    - bob.extension >2.0.4
    - bob.blitz
    - bob.core
    - bob.io.base
    - bob.math
    - bob.learn.activation
    # bob.io.matlab may be removed from dependencies in future
    - bob.io.matlab
    - scipy
    - libblitz 0.10|0.10.*
    - boost 1.61.*
    - numpy x.x
    - libgcc >=4.8.5  # [linux]

test:
  commands:
    - nosetests -sv bob.learn.linear

  imports:
    - bob
    - bob.learn
    - bob.learn.linear

  requires:
    - nose

about:
  home: https://www.idiap.ch/software/bob/
  license: BSD 3-Clause
  summary: Bob's Linear Machine and its Trainers

extra:
  recipe-maintainers:
    - 183amir
