{% set version = "2.0.3" %}

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

source:
  fn: bob.learn.libsvm-{{ version }}.zip
  md5: 9f2a32a574f940d0c6c356cb607ae9b1
  url: https://pypi.python.org/packages/source/b/bob.learn.libsvm/bob.learn.libsvm-{{ version }}.zip

build:
  number: 0
  skip: true  # [not linux]
  script: python -B setup.py install --single-version-externally-managed --record record.txt

requirements:
  build:
    - python
    - setuptools
    - bob.extension
    - bob.blitz
    - bob.core
    - bob.io.base
    - libsvm
    - cmake
    - pkg-config
    - gcc     # [linux]

  run:
    - python
    - bob.extension
    - bob.blitz
    - bob.core
    - bob.io.base
    - libsvm
    - libgcc  # [linux]

test:

  commands:
    - nosetests -sv bob.learn.libsvm
  imports:
    - bob
    - bob.learn
    - bob.learn.libsvm

  requires:
    - nose

about:
  home: http://github.com/bioidiap/bob.learn.libsvm
  license: Modified BSD License (3-clause)
  summary: Bob's Python bindings to LIBSVM

extra:
  recipe-maintainers:
    - 183amir

Add bob.learn.libsvm recipe [skip appveyor]
Add bob.learn.libsvm recipe [skip appveyor]
