{% set version = '3.2.6' %}
{% set posix = 'm2-' if win else '' %}
{% set native = 'm2w64-' if win else '' %}

package:
  name: r-oompabase
  version: {{ version|replace("-", "_") }}

source:
  fn: oompaBase_{{ version }}.tar.gz
  url:
    - {{ cran_mirror }}/src/contrib/oompaBase_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/oompaBase/oompaBase_{{ version }}.tar.gz
  sha256: 7a286464c73ad07125da02ada2a8ef86cbc34699c46ab9de85de1a5284862f52

build:
  merge_build_host: True  # [win]
  number: 1
  skip: true  # [win32]
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{posix}}zip               # [win]
  host:
    - r-base
    - r-cluster
  run:
    - r-base
    - r-cluster

test:
  commands:
    - $R -e "library('oompaBase')"           # [not win]
    - "\"%R%\" -e \"library('oompaBase')\""  # [win]

about:
  home: http://oompa.r-forge.r-project.org/
  license: Apache-2-0
  summary: Provides the class unions that must be preloaded in order for the basic tools in the
    OOMPA (Object-Oriented  Microarray and Proteomics Analysis) project to be defined
    and loaded. It also includes vectorized operations for row-by-row means, variances,
    and t-tests. Finally, it provides new color schemes. Details on the packages in
    the OOMPA project can be found at <http://oompa.r-forge.r-project.org/>.
  license_family: APACHE

extra:
  recipe-maintainers:
    - johanneskoester
    - bgruening
    - daler
    - jdblischak
    - cbrueffer
    - dbast
