Skip to content
Draft
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
26 changes: 11 additions & 15 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 10 additions & 18 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .scripts/run_win_build.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build_platform:
osx_arm64: osx_64
conda_build:
error_overlinking: true
conda_build_tool: rattler-build
conda_forge_output_validation: true
github:
branch_name: main
Expand Down
File renamed without changes.
104 changes: 0 additions & 104 deletions recipe/meta.yaml

This file was deleted.

100 changes: 100 additions & 0 deletions recipe/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
context:
name: xeus-r
version: 0.8.0

package:
name: ${{ name }}
version: ${{ version }}

source:
url: https://github.com/jupyter-xeus/xeus-r/archive/${{ version }}.tar.gz
sha256: 86f923b010c1b328637d71d23bd5c7f5dc13e624a182bf499d69788823d458d5

build:
number: 2
dynamic_linking:
rpaths:
- lib/R/lib/
- lib/
missing_dso_allowlist:
- if: win
then: '*/R.dll'

requirements:
build:
- ${{ compiler('cxx') }}
- ${{ stdlib("c") }}
- cmake
- pkg-config
- if: unix
then: make
- if: build_platform != target_platform
then:
# Dependencies for hera
- r-base
- cross-r-base
- r-cli
- r-evaluate
- r-glue
- r-IRDisplay
- r-jsonlite
- r-r6
- r-repr
- r-rlang
host:
- xeus >=5
- xeus-zmq >=3.0,<4.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

tests:
- package_contents:
files:
exists:
- ${{ "Library/" if win }}bin/xr${{ ".exe" if win }}
- ${{ "Library/" if win }}share/jupyter/kernels/xr/kernel.json
- ${{ "Library/" if win }}include/xeus-r/xinterpreter.hpp
- ${{ "Library/" if win }}lib/cmake/xeus-r/xeus-rConfig.cmake
- ${{ "Library/" if win }}lib/cmake/xeus-r/xeus-rConfigVersion.cmake
- lib/R/library/hera/R/hera.rdb

- script:
- Rscript -e "library('hera')"

about:
homepage: 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
documentation: https://github.com/jupyter-xeus/xeus-r
repository: https://github.com/jupyter-xeus/xeus-r

extra:
recipe-maintainers:
- IsabelParedes
- JohanMabille
- DerThorsten
- SylvainCorlay
- romainfrancois
Loading