{% set data = load_setup_py_data() %}
{% set version = data.get('version') or 'placehold' %}

package:
  name: q2-phylogeny
  version: {{ version }}

source:
  path: ../..

build:
  script: make install

requirements:
  host:
    - python {{ python }}
    - setuptools

  run:
    - python {{ python }}
    - scikit-bio {{ scikit_bio }}
    - qiime2 {{ qiime2_epoch }}.*
    - q2-types {{ qiime2_epoch }}.*
    - q2-alignment {{ qiime2_epoch }}.*
    - fasttree
    - raxml
    - iqtree
    # this isn't a direct dependency, but it helps convince conda to do the right thing
    - h5py

test:
  requires:
    - qiime2 >={{ qiime2 }}
    - q2-types >={{ q2_types }}
    - q2-alignment >={{ q2_alignment }}
    - pytest

  imports:
    - q2_phylogeny
    - qiime2.plugins.phylogeny

about:
  home: https://qiime2.org
  license: BSD-3-Clause
  license_family: BSD
