Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create r-airr recipe #12284

Merged
merged 2 commits into from
Nov 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions recipes/r-airr/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
if [[ $target_platform =~ linux.* ]] || [[ $target_platform == win-32 ]] || [[ $target_platform == win-64 ]] || [[ $target_platform == osx-64 ]]; then
export DISABLE_AUTOBREW=1
$R CMD INSTALL --build .
else
mkdir -p $PREFIX/lib/R/library/airr
mv * $PREFIX/lib/R/library/airr
fi
51 changes: 51 additions & 0 deletions recipes/r-airr/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{% set version = '1.2.0' %}

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

source:
url:
- {{ cran_mirror }}/src/contrib/airr_{{ version }}.tar.gz
- {{ cran_mirror }}/src/contrib/Archive/airr/airr_{{ version }}.tar.gz
sha256: 306cd7084b1ef0617af62e5815df538f2dcd6d6aaabb593df6f579e8ab5c5cef

build:
number: 0
noarch: generic
rpaths:
- lib/R/lib/
- lib/

requirements:
host:
- r-base
- r-readr
- r-stringi
- r-yaml
run:
- r-base
- r-readr
- r-stringi
- r-yaml

test:
commands:
- $R -e "library('airr')"

about:
home: http://docs.airr-community.org
license: CC BY 4.0
summary: Schema definitions and read, write and validation tools for data formatted in accordance
with the AIRR Data Representation schemas defined by the AIRR Community <http://docs.airr-community.org>.
license_family: CC

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