{% set version = "2.8.1" %}

package:
  name: flye
  version: {{ version }}

source:
  url: https://github.com/fenderglass/Flye/archive/{{ version }}.tar.gz
  sha256: 436ebe884e5000c023d78c098596d22c235c916f91e6c29a79b88a21e611fcb4

build:
  number: 1
  # Fails on OSX due to 3.8 multiprocessing change from fork to spawn model.
  skip: True  # [osx and py>=38]

requirements:
  build:
    - {{ compiler('cxx') }}
  host:
    - python
    - setuptools
    - zlib
  run:
    - python
    - setuptools

extra:
  skip-lints:
    - uses_setuptools  #uses pkg_resources

test:
  commands:
    - flye -h | grep Assembly
    - python -c "import flye.tests.test_toy as t; t.main()"

about:
  home: https://github.com/fenderglass/Flye/
  license: BSD-3-Clause
  summary: Fast and accurate de novo assembler for single molecule sequencing reads
