{% set name = "pyfastani" %}
{% set version = "0.4.0" %}

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

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

build:
  number: 0
  skip: True  #[py2k]
  script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv "

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - pip
    - cython
    - setuptools
  run:
    - python
    - setuptools

test:
  imports:
    - {{ name }}
  commands:
    - python -m unittest -vv {{ name }}.tests

about:
  home: https://github.com/althonos/pyfastani
  license: MIT
  license_file: COPYING
  summary: Cython bindings and Python interface to FastANI, a method for fast whole-genome similarity estimation..
  doc_url: https://pyfastani.readthedocs.org/

extra:
  recipe-maintainers:
    - althonos
