{% set version = "1.18.0" %}
{% set name = "PanVizGenerator" %}
{% set bioc = "3.12" %}

package:
  name: 'bioconductor-{{ name|lower }}'
  version: '{{ version }}'
source:
  url:
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/{{ name }}_{{ version }}.tar.gz'
    - 'https://bioarchive.galaxyproject.org/{{ name }}_{{ version }}.tar.gz'
    - 'https://depot.galaxyproject.org/software/bioconductor-{{ name|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz'
  md5: e2ba5712839e876b8db4a071817d9fb3
build:
  number: 1
  rpaths:
    - lib/R/lib/
    - lib/
  noarch: generic
# Suggests: BiocStyle, knitr, rmarkdown, testthat, digest
requirements:
  host:
    - 'bioconductor-findmyfriends >=1.20.0,<1.21.0'
    - 'bioconductor-pcamethods >=1.82.0,<1.83.0'
    - r-base
    - r-igraph
    - r-jsonlite
    - r-shiny
  run:
    - 'bioconductor-findmyfriends >=1.20.0,<1.21.0'
    - 'bioconductor-pcamethods >=1.82.0,<1.83.0'
    - r-base
    - r-igraph
    - r-jsonlite
    - r-shiny
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'GPL (>= 2)'
  summary: 'Generate PanViz visualisations from your pangenome'
  description: 'PanViz is a JavaScript based visualisation tool for functionaly annotated pangenomes. PanVizGenerator is a companion for PanViz that facilitates the necessary data preprocessing step necessary to create a working PanViz visualization. The output is fully self-contained so the recipient of the visualization does not need R or PanVizGenerator installed.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'

