{% set version = "0.7.7" %}

package:
  name: menpo
  version: {{ version }}

source:
  git_rev: v{{ version }}
  git_url: https://github.com/menpo/menpo.git
  patches:
    # removes the pinning for matplotlib<2
    - no-matplotlib-pin.patch

build:
  number: 3
  script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
  build:
    - toolchain 2.2.0
    - gcc 4.8.5  # [linux]
    - libgcc 4.8.5  # [linux]
    - python
    - setuptools
    - numpy x.x
    - cython >=0.23

  run:
    - python
    - pathlib 1.0  # [py2k]
    - numpy x.x
    - libgcc >=4.8.5  # [linux]

    # Scientific Python Stack
    - scipy
    - pillow >=3.0,<5.0
    - ffmpeg

    # Features
    - cyvlfeat >=0.4.3,<0.5

    # Visualization
    - matplotlib

test:
  requires:
    - mock
    - nose
    - coverage

  files:
    - .coveragerc

  imports:
    - menpo

  commands:
    - nosetests menpo -v --with-coverage --cover-package=menpo --exclude=".*test_rasterize_matplotlib_basic_line.*"

about:
  home: https://github.com/menpo/menpo/
  summary: A statistical modelling toolkit, providing all the tools required to build, fit, visualize, and test deformable models.
  license: BSD

extra:
  recipe-maintainers:
    - anjos
