-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathjupyterlab-gitlab-4.0.0-GCCcore-13.3.0.eb
More file actions
59 lines (48 loc) · 1.57 KB
/
Copy pathjupyterlab-gitlab-4.0.0-GCCcore-13.3.0.eb
File metadata and controls
59 lines (48 loc) · 1.57 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
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'PythonBundle'
name = 'jupyterlab-gitlab'
version = '4.0.0'
homepage = "https://github.com/jupyterlab-contrib/jupyterlab-gitlab"
description = """
A JupyterLab extension for browsing GitLab repositories.
"""
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
builddependencies = [
('binutils', '2.42'),
('hatch-jupyter-builder', '0.9.1'),
]
dependencies = [
('Python', '3.12.3'),
('jupyter-server', '2.15.0'),
]
sanity_pip_check = True
use_pip = True
exts_list = [
('jupyterlab_gitlab', version, {
'patches': [('jupyterlab-gitlab.config', '.')],
'checksums': [
'150594530a5f0aea94c4dd5b93ce79065e3ae7655618f6718006afe1a78b81fb',
'13dc84e36670a8e45391d72a2a9f5f20a7c7080bf51e9811676d0c3e494ae13d',
],
}),
]
postinstallcmds = [
# override lab-defaults
(
'cat %%(builddir)s/jupyterlab_gitlab/jupyterlab_gitlab-%s/jupyterlab-gitlab.config '
' >> %%(installdir)s/etc/jupyter/jupyter_notebook_config.py'
) % version,
'mkdir -p %(installdir)s/etc/jupyter/labconfig/ ',
(
'{ cat > %(installdir)s/etc/jupyter/labconfig/default_setting_overrides.json; } << \'EOF\'\n'
'{\n'
' "jupyterlab-gitlab:drive": {\n'
' "baseUrl": "https://gitlab.jsc.fz-juelich.de",\n'
' "defaultRepo": "jupyter4jsc/j4j_notebooks"\n'
' }\n'
'}\n'
'EOF'
),
]
modextrapaths = {'EB_ENV_JUPYTER_ROOT': ''}
moduleclass = 'tools'