{% set name = "cyvlfeat" %}
{% set version = "0.5.1" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
  sha256: 95e63e4451a0368aa26fcc45175b36d3990c271329855ea155b687dc6ca26f57

build:
  number: 0
  script: '{{ PYTHON }} setup.py install --single-version-externally-managed --record=record.txt'
  skip: True  # [win]

requirements:
  build:
     - {{ compiler('c') }}

  host:
    - python
    - setuptools
    - numpy
    - cython
    - vlfeat

  run:
    - python
    - {{ pin_compatible('vlfeat', min_pin='x.x.x', max_pin='x.x.x') }}
    - {{ pin_compatible('numpy') }}

test:
  imports:
    - cyvlfeat.sift.sift
    - cyvlfeat.sift.dsift
    - cyvlfeat.fisher.fisher
    - cyvlfeat.hog.hog
    - cyvlfeat.kmeans.kmeans
    - cyvlfeat.generic.generic

about:
  home: https://github.com/menpo/cyvlfeat
  license: BSD
  license_family: BSD
  license_file: LICENSE.txt
  summary: 'A Python (cython) wrapper of the VLFeat library'

extra:
  recipe-maintainers:
    - patricksnape

Add cyvlfeat v0.5.1 feedstock - BSD licensed
Add cyvlfeat v0.5.1 feedstock - BSD licensed
