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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/Peptides_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/Peptides/Peptides_{{ version }}.tar.gz
  sha256: fc870bd9184f23e25f9a8d20c24c2f5e32aa1333ceacab6b256765a0345bf7fa

build:
  merge_build_host: True  # [win]
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/

requirements:
  build:
    - {{ compiler('c') }}              # [not win]
    - {{ compiler('m2w64_c') }}        # [win]
    - {{ compiler('cxx') }}            # [not win]
    - {{ compiler('m2w64_cxx') }}      # [win]
    - {{ posix }}filesystem        # [win]
    - {{ posix }}make
    - {{ posix }}sed               # [win]
    - {{ posix }}coreutils         # [win]
    - {{ posix }}zip               # [win]
    - cross-r-base {{ r_base }}    # [build_platform != target_platform]
  host:
    - r-base
    - r-rcpp
  run:
    - r-base
    - {{ native }}gcc-libs         # [win]
    - r-rcpp

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

about:
  home: https://github.com/dosorio/Peptides/
  license: GPL-2.0-only
  summary: Includes functions to calculate several physicochemical properties and indices for
    amino-acid sequences as well as to read and plot 'XVG' output files from the 'GROMACS'
    molecular dynamics package.
  license_family: GPL2
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'

extra:
  recipe-maintainers:
    - conda-forge/r

# Package: Peptides
# Version: 2.4.4
# Title: Calculate Indices and Theoretical Physicochemical Properties of Protein Sequences
# Authors@R: c(person("Daniel","Osorio", email="daniecos@uio.no",role=c("aut","cre"), comment = c(ORCID = "0000-0003-4424-8422")), person("Paola","Rondon-Villarreal",role=c("aut","ths"), comment = c(ORCID = "0000-0001-8209-3885")), person("Rodrigo","Torres",role=c("aut","ths"), comment = c(ORCID = "0000-0003-1113-3020")), person("J. Sebastian","Paez",email="jpaezpae@purdue.edu",role=c("ctb"), comment = c(ORCID = "0000-0002-0065-1474")), person("Luis Pedro", "Coelho", email="luis@luispedro.org", role = c("ctb"), comment = c(ORCID = "0000-0002-9280-7885")), person("Richel J.C.", "Bilderbeek", email = "richel@richelbilderbeek.nl", role = c("ctb"), comment = c(ORCID = "0000-0003-1107-7049")), person("Florian C.", "Sigloch",role = c("ctb"), comment = c(ORCID = "0000-0001-8130-6885")) )
# URL: https://github.com/dosorio/Peptides/
# Suggests: testthat (>= 2.1.0)
# Description: Includes functions to calculate several physicochemical properties and indices for amino-acid sequences as well as to read and plot 'XVG' output files from the 'GROMACS' molecular dynamics package.
# License: GPL-2
# LinkingTo: Rcpp
# Imports: Rcpp
# RoxygenNote: 7.1.1
# Encoding: UTF-8
# NeedsCompilation: yes
# Packaged: 2021-05-14 13:45:10 UTC; danie
# Author: Daniel Osorio [aut, cre] (<https://orcid.org/0000-0003-4424-8422>), Paola Rondon-Villarreal [aut, ths] (<https://orcid.org/0000-0001-8209-3885>), Rodrigo Torres [aut, ths] (<https://orcid.org/0000-0003-1113-3020>), J. Sebastian Paez [ctb] (<https://orcid.org/0000-0002-0065-1474>), Luis Pedro Coelho [ctb] (<https://orcid.org/0000-0002-9280-7885>), Richel J.C. Bilderbeek [ctb] (<https://orcid.org/0000-0003-1107-7049>), Florian C. Sigloch [ctb] (<https://orcid.org/0000-0001-8130-6885>)
# Maintainer: Daniel Osorio <daniecos@uio.no>
# Repository: CRAN
# Date/Publication: 2021-05-14 15:42:11 UTC
