-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmeta.yaml
More file actions
103 lines (92 loc) · 3.33 KB
/
meta.yaml
File metadata and controls
103 lines (92 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{% set name = "xeus-r" %}
{% set version = "0.10.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://github.com/jupyter-xeus/xeus-r/archive/{{ version }}.tar.gz
sha256: 2c13cab2c362e84e56aa70ed46b4700c6a6346b4ef2366fd4789f6ebe82617bc
build:
number: 0
rpaths:
- lib/R/lib/
- lib/
missing_dso_whitelist:
- '*/R.dll' # [win]
requirements:
build:
- {{ compiler('cxx') }}
- {{ stdlib("c") }}
- cmake
- make # [unix]
- pkg-config
# Dependencies for hera
- r-base # [build_platform != target_platform]
- cross-r-base # [build_platform != target_platform]
- r-cli # [build_platform != target_platform]
- r-evaluate # [build_platform != target_platform]
- r-glue # [build_platform != target_platform]
- r-IRDisplay # [build_platform != target_platform]
- r-jsonlite # [build_platform != target_platform]
- r-r6 # [build_platform != target_platform]
- r-repr # [build_platform != target_platform]
- r-rlang # [build_platform != target_platform]
host:
- xeus >=6,<7
- xeus-zmq >=4.0,<5.0
- nlohmann_json >=3.11.3,<4
- nlohmann_json-abi
- r-base
# Dependencies for hera
- r-cli
- r-evaluate
- r-glue
- r-IRdisplay
- r-jsonlite
- r-r6
- r-repr
- r-rlang
run:
- r-base
- r-cli
- r-evaluate
- r-glue
- r-IRdisplay
- r-jsonlite
- r-r6
- r-repr
- r-rlang
test:
commands:
- test -f ${PREFIX}/bin/xr # [unix]
- test -f ${PREFIX}/share/jupyter/kernels/xr/kernel.json # [unix]
- test -d ${PREFIX}/include/xeus-r # [unix]
- test -f ${PREFIX}/include/xeus-r/xinterpreter.hpp # [unix]
- test -f ${PREFIX}/lib/cmake/xeus-r/xeus-rConfig.cmake # [unix]
- test -f ${PREFIX}/lib/cmake/xeus-r/xeus-rConfigVersion.cmake # [unix]
- test -f ${PREFIX}/lib/R/library/hera/R/hera.rdb # [unix]
- if not exist %LIBRARY_BIN%\\xr.exe (exit 1) # [win]
- if not exist %LIBRARY_PREFIX%\\share\\jupyter\\kernels\\xr\\kernel.json (exit 1) # [win]
- if not exist %LIBRARY_LIB%\\cmake\\xeus-r\\xeus-rConfig.cmake (exit 1) # [win]
- if not exist %LIBRARY_LIB%\\cmake\\xeus-r\\xeus-rConfigVersion.cmake (exit 1) # [win]
# The kernel spec in installed in the general PREFIX
- if not exist %PREFIX%\\share\\jupyter\\kernels\\xr\\kernel.json (exit 1) # [win]
- $R -e "library('hera')" # [not win]
- "\"%R%\" -e \"library('hera')\"" # [win]
about:
home: https://github.com/jupyter-xeus/xeus-r
license: GPL-3.0-only
license_family: GPL
license_file: LICENSE
summary: R kernel for Jupyter based on xeus
description: Jupyter kernel for the R programming language
doc_url: https://github.com/jupyter-xeus/xeus-r
dev_url: https://github.com/jupyter-xeus/xeus-r
extra:
recipe-maintainers:
- IsabelParedes
- JohanMabille
- DerThorsten
- SylvainCorlay
- romainfrancois