-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: IRkernel-1.3.2-gfbf-2023a-R-4.3.2.eb
- Loading branch information
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
72 changes: 72 additions & 0 deletions
72
easybuild/easyconfigs/i/IRkernel/IRkernel-1.3.2-gfbf-2023a-R-4.3.2.eb
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,72 @@ | ||
easyblock = 'Bundle' | ||
|
||
name = 'IRkernel' | ||
version = '1.3.2' | ||
versionsuffix = '-R-%(rver)s' | ||
|
||
homepage = 'https://irkernel.github.io' | ||
description = """The R kernel for the 'Jupyter' environment executes R code | ||
which the front-end (Jupyter Notebook or other front-ends) submits to the | ||
kernel via the network.""" | ||
|
||
toolchain = {'name': 'gfbf', 'version': '2023a'} | ||
|
||
dependencies = [ | ||
('R', '4.3.2'), | ||
('Python', '3.11.3'), | ||
('IPython', '8.14.0'), | ||
('ZeroMQ', '4.3.4'), | ||
] | ||
|
||
exts_defaultclass = 'RPackage' | ||
exts_filter = ("R -q --no-save", "library(%(ext_name)s)") | ||
|
||
exts_default_options = { | ||
'source_urls': [ | ||
'https://cran.r-project.org/src/contrib/', | ||
'https://cran.rstudio.com/src/contrib/', | ||
'https://cran.r-project.org/src/contrib/Archive/%(name)s/', | ||
], | ||
'source_tmpl': '%(name)s_%(version)s.tar.gz', | ||
} | ||
|
||
exts_list = [ | ||
('uuid', '1.1-1', { | ||
'checksums': ['1611240eb706e6f53400b25c9cf792ad90f151b72ed0918a1e756997f7abb716'], | ||
}), | ||
('repr', '1.1.7', { | ||
'checksums': ['73bd696b4d4211096e0d1e382d5ce6591527d2ff400cc7ae8230f0235eed021b'], | ||
}), | ||
('IRdisplay', '1.1', { | ||
'checksums': ['83eb030ff91f546cb647899f8aa3f5dc9fe163a89a981696447ea49cc98e8d2b'], | ||
}), | ||
('pbdZMQ', '0.3-11', { | ||
'checksums': ['da7e204d857370201f75a05fbd808a2f409d440cc96855bb8f48f4a5dd75405b'], | ||
}), | ||
(name, version, { | ||
'checksums': ['e1c6d8bddc23e5039dd9c537feb371f937d60028fb753b90345698c58ae424a6'], | ||
}), | ||
] | ||
|
||
modextrapaths = { | ||
'R_LIBS_SITE': '', | ||
'JUPYTER_PATH': '%(name)s' | ||
} | ||
|
||
# IPython notebook looks for the json kernel file in kernels/IRkernel | ||
# We start the kernel with default bitmapType 'cairo'. This is a more sensible default | ||
# for headless nodes. See https://github.com/IRkernel/IRkernel/issues/388 | ||
local_kerneldir = '%(installdir)s/IRkernel' | ||
postinstallcmds = [ | ||
'mkdir -p %s/kernels/ir' % local_kerneldir, | ||
'cp %s/kernelspec/* %s/kernels/ir' % (local_kerneldir, local_kerneldir), | ||
('sed -i \'s/"IRkernel::main()"/"options(bitmapType=\\x27cairo\\x27); IRkernel::main()"/g\'' | ||
' %s/kernels/ir/kernel.json') % local_kerneldir | ||
] | ||
|
||
sanity_check_paths = { | ||
'files': ['%s/kernels/ir/kernel.json' % local_kerneldir], | ||
'dirs': [name], | ||
} | ||
|
||
moduleclass = 'tools' |