{% set version = "1.12.0" %}
{% set name = "BiocSklearn" %}
{% 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: 84059d5e8a774aec8ea4bf82b7a4bf1d
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: testthat, restfulSE, HDF5Array, BiocStyle
# SystemRequirements: python (>= 2.7), sklearn, numpy, pandas, h5py
requirements:
  host:
    - 'bioconductor-basilisk >=1.2.0,<1.3.0'
    - 'bioconductor-summarizedexperiment >=1.20.0,<1.21.0'
    - r-base
    - r-knitr
    - r-rcpp
    - r-reticulate
    - libblas
    - liblapack
    - python
  run:
    - 'bioconductor-basilisk >=1.2.0,<1.3.0'
    - 'bioconductor-summarizedexperiment >=1.20.0,<1.21.0'
    - r-base
    - r-knitr
    - r-rcpp
    - r-reticulate
    - python
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: Artistic-2.0
  summary: 'interface to python sklearn via Rstudio reticulate'
  description: 'This package provides interfaces to selected sklearn elements, and demonstrates fault tolerant use of python modules requiring extensive iteration.'

