package:
  name: fastx_toolkit
  version: 0.0.14

source:
    url: https://github.com/agordon/fastx_toolkit/releases/download/0.0.14/fastx_toolkit-0.0.14.tar.bz2
    fn: fastx_toolkit-0.0.14.tar.bz2

build:
  preserve_egg_dir: True
  number: 2
  skip: False

requirements:
  build:
    - gcc [not osx]
    - llvm [osx]
    - cython
    - nose
    - libgtextutils

  run:
    - libgcc [not osx]
    - cython
    - nose
    - libgtextutils
    - gnuplot
    #- pkg-config

test:
    commands:
      #- fastx_quality_stats -h  # This fails for some unknown reason, even though it prints the output successfully...

about:
  home: https://github.com/agordon/fastx_toolkit
  license: AGPL

package:
  name: fastx_toolkit
  version: 0.0.14

source:
    url: https://github.com/agordon/fastx_toolkit/releases/download/0.0.14/fastx_toolkit-0.0.14.tar.bz2
    fn: fastx_toolkit-0.0.14.tar.bz2

build:
  preserve_egg_dir: True
  number: 3
  skip: False

requirements:
  build:
    - gcc [not osx]
    - llvm [osx]
    - cython
    - nose
    - libgtextutils

  run:
    - libgcc [not osx]
    - cython
    - nose
    - libgtextutils
    - gnuplot
    - libgd >=2.1.1post 1
    - perl-threaded
    - perl-perlio-gzip
    - perl-gd >=2.5.6 2
    - perl-gdgraph-histogram
    #- pkg-config

test:
    commands:
      - SCRIPT=$(which fasta_clipping_histogram.pl) && perl5.22.0 "$SCRIPT"
      - 'fastx_trimmer -h | grep "Part of FASTX Toolkit 0.0.14 by A. Gordon (assafgordon@gmail.com)"'

about:
  home: https://github.com/agordon/fastx_toolkit
  license: AGPL

Add perl dependencies to fastx_toolkit
Add perl dependencies to fastx_toolkit

runtime dependencies. This is required for fasta_clipping_histogram.pl.
Also fixes tests (all fastx_* -h commands exit with exit-code 1) by
grepping for `Part of FASTX Toolkit 0.0.14 by A. Gordon
(assafgordon@gmail.com)`.
