{% set version = "0.3.0" %}

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

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

source:
  url:
    - {{ cran_mirror }}/src/contrib/botor_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/botor/botor_{{ version }}.tar.gz
  sha256: 4f2321f8644b8847a9a74fb1106d2a6f762f96b86c8af1e1b8a4b89008bbf0c7

build:
  merge_build_host: True  # [win]
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  skip: True  # [r_base == "3.5.1"]

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

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

about:
  home: https://daroczig.github.io/botor
  license: AGPL-3
  summary: Fork-safe, raw access to the 'Amazon Web Services' ('AWS') 'SDK' via the 'boto3' 'Python'
    module, and convenient helper functions to query the 'Simple Storage Service' ('S3')
    and 'Key Management Service' ('KMS'), partial support for 'IAM', the 'Systems Manager
    Parameter Store' and 'Secrets Manager'.
  license_family: AGPL
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/AGPL-3'

extra:
  recipe-maintainers:
    - conda-forge/r
    - oblute
    - rluria14
    - benhuff

# The original CRAN metadata for this package was:

# Type: Package
# Package: botor
# Authors@R: c( person("Gergely", "Daroczi", , "daroczig@rapporter.net", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-3149-8537")), person("System1", role = c("fnd")) )
# Title: 'AWS Python SDK' ('boto3') for R
# Description: Fork-safe, raw access to the 'Amazon Web Services' ('AWS') 'SDK' via the 'boto3' 'Python' module, and convenient helper functions to query the 'Simple Storage Service' ('S3') and 'Key Management Service' ('KMS'), partial support for 'IAM', the 'Systems Manager Parameter Store' and 'Secrets Manager'.
# SystemRequirements: boto3 (https://aws.amazon.com/sdk-for-python)
# Version: 0.2.0
# Date: 2019-09-23
# URL: https://daroczig.github.io/botor
# BugReports: https://github.com/daroczig/botor/issues
# RoxygenNote: 6.1.1
# License: AGPL-3
# Encoding: UTF-8
# Imports: utils, reticulate, checkmate, logger
# Suggests: testthat, covr, digest
# NeedsCompilation: no
# Packaged: 2019-09-23 00:39:27 UTC; daroczig
# Author: Gergely Daroczi [aut, cre] (<https://orcid.org/0000-0003-3149-8537>), System1 [fnd]
# Maintainer: Gergely Daroczi <daroczig@rapporter.net>
# Repository: CRAN
# Date/Publication: 2019-10-21 17:40:02 UTC

# See
# https://docs.conda.io/projects/conda-build for
# more information about meta.yaml
