-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"%R%" CMD INSTALL --build . %R_ARGS% | ||
IF %ERRORLEVEL% NEQ 0 exit /B 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
export DISABLE_AUTOBREW=1 | ||
${R} CMD INSTALL --build . ${R_ARGS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{% set version = '1.0.7' %} | ||
{% set posix = 'm2-' if win else '' %} | ||
{% set native = 'm2w64-' if win else '' %} | ||
|
||
package: | ||
name: r-quickjsr | ||
version: {{ version|replace("-", "_") }} | ||
|
||
source: | ||
url: | ||
- {{ cran_mirror }}/src/contrib/QuickJSR_{{ version }}.tar.gz | ||
- {{ cran_mirror }}/src/contrib/Archive/QuickJSR/QuickJSR_{{ version }}.tar.gz | ||
sha256: 3161c243fed64ea215084b44141bea9ee416fa1ef3910aeb78abe55f3d3e9893 | ||
|
||
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-r6 | ||
- r-rcpp | ||
- r-jsonlite | ||
run: | ||
- r-base | ||
- {{ native }}gcc-libs # [win] | ||
- r-r6 | ||
- r-rcpp | ||
- r-jsonlite | ||
|
||
test: | ||
commands: | ||
- $R -e "library('QuickJSR')" # [not win] | ||
- "\"%R%\" -e \"library('QuickJSR')\"" # [win] | ||
|
||
about: | ||
home: https://github.com/andrjohns/QuickJSR https://bellard.org/quickjs/ (upstream) | ||
license: MIT | ||
summary: An 'R' interface to the 'QuickJS' portable 'JavaScript' engine. The engine is bundled | ||
entirely within the package, requiring no external system dependencies beyond a | ||
'C' compiler. | ||
license_family: MIT | ||
license_file: | ||
- {{ environ["PREFIX"] }}/lib/R/share/licenses/MIT | ||
- LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- conda-forge/r |