package:
  name: fastfilters

  {% set tagged_version = GIT_DESCRIBE_TAG|replace('v', '') %}

  # If we're using a non-tagged revision, append '.postN' to the version
  {% if GIT_DESCRIBE_NUMBER|int != 0 %}
    {% set tagged_version = tagged_version + '.post' + GIT_DESCRIBE_NUMBER %}
  {% endif %}

  version: {{tagged_version}}

source:
  git_url: https://github.com/svenpeter42/fastfilters
  git_tag: v0.2.4

build:
  number: 0
  string: py{{CONDA_PY}}_{{PKG_BUILDNUM}}_g{{GIT_FULL_HASH[:7]}}

requirements:
  build:
    - gcc 4.8.5 # [unix]
    - python 2.7*|3.4*|3.5*
    - python {{PY_VER}}*
    - binutils
    - numpy

  run:
    - libgcc 4.8* # [unix]
    - python {{PY_VER}}*
    - numpy

test:
  requires:
    - vigra >=1.11.0

  imports:
    - fastfilters

package:
  name: fastfilters

  {% set tagged_version = GIT_DESCRIBE_TAG|replace('v', '') %}

  # If we're using a non-tagged revision, append '.postN' to the version
  {% if GIT_DESCRIBE_NUMBER|int != 0 %}
    {% set tagged_version = tagged_version + '.post' + GIT_DESCRIBE_NUMBER %}
  {% endif %}

  version: {{tagged_version}}

source:
  path: ../../../../

build:
  number: 0
  string: py{{CONDA_PY}}_{{PKG_BUILDNUM}}_g{{GIT_FULL_HASH[:7]}}

requirements:
  build:
    - gcc 4.8.5 # [unix]
    - python 2.7*|3.4*|3.5*
    - python {{PY_VER}}*
    - binutils
    - numpy

  run:
    - libgcc 4.8* # [unix]
    - python {{PY_VER}}*
    - numpy

test:
  requires:
    - vigra >=1.11.0

  imports:
    - fastfilters

Build from local source, not from github
conda-recipe: Build from local source, not from github
