Super Pierre-Yves Barriat 5 years ago
parent
commit
25b19bf5a9

+ 13 - 4
foss-2018b/ELIC-0.1-foss-2018b-Python-2.7.15.eb

@@ -33,6 +33,7 @@ dependencies = [
     ('ecCodes', '2.8.2'),
     ('libmo_unpack', '3.1.2'),
     ('numba', '0.43.0', versionsuffix),
+    ('orca', '1.2.1', '-nodejs-8.9.4'),
 ]
 
 exts_defaultclass = 'PythonPackage'
@@ -374,10 +375,18 @@ exts_list = [
         'modulename': 'xlsxwriter',
         'source_urls': ['https://pypi.python.org/packages/source/x/XlsxWriter/'],
     }),
-    #('SkillMetrics', '1.1.6', {
-    #    'modulename': 'skill_metrics',
-    #    'source_urls': ['https://pypi.python.org/packages/source/s/SkillMetrics/'],
-    #}),
+    ('SkillMetrics', '1.1.6', {
+        'modulename': 'skill_metrics',
+        'source_urls': ['https://pypi.python.org/packages/source/s/SkillMetrics/'],
+    }),
+    ('plotly', '3.8.1', {
+        'modulename': 'plotly',
+        'source_urls': ['https://pypi.python.org/packages/source/p/plotly/'],
+    }),
+    ('Bottleneck', '1.2.1', {
+        'modulename': 'bottleneck',
+        'source_urls': ['https://pypi.python.org/packages/source/b/Bottleneck/'],
+    }),
     ################################
     # R extension
     ('ncdf4', '1.16', {

+ 10 - 1
foss-2018b/ELIC-0.2-foss-2018b-Python-2.7.15.eb

@@ -16,6 +16,7 @@ sources = [{'filename': 'ESMValTool.tar.gz', 'download_filename': 'v2.0a1.tar.gz
 dependencies = [
     ('Python', '2.7.15'),
     ('ELIC', '0.1', versionsuffix),
+    ('orca', '1.2.1', '-nodejs-8.9.4'),
 ]
 
 exts_defaultclass = 'PythonPackage'
@@ -32,6 +33,14 @@ exts_list = [
         'modulename': 'skill_metrics',
         'source_urls': ['https://pypi.python.org/packages/source/s/SkillMetrics/'],
     }),
+    ('plotly', '3.8.1', {
+        'modulename': 'plotly',
+        'source_urls': ['https://pypi.python.org/packages/source/p/plotly/'],
+    }),
+    ('Bottleneck', '1.2.1', {
+        'modulename': 'bottleneck',
+        'source_urls': ['https://pypi.python.org/packages/source/b/Bottleneck/'],
+    }),
     ################################
     # R extension
     #('gdtools', '0.1.7', {
@@ -45,7 +54,7 @@ exts_list = [
 ]
 
 sanity_check_paths = {
-    'files': ['sf/libs/sf.so'],
+    'files': ['ESMValTool.tar.gz'],
     'dirs': [],
 }
 

+ 28 - 0
foss-2018b/nodejs-8.9.4-foss-2018b.eb

@@ -0,0 +1,28 @@
+easyblock = 'ConfigureMake'
+
+name = 'nodejs'
+version = '8.9.4'
+
+homepage = 'http://nodejs.org'
+
+description = """Node.js is a platform built on Chrome's JavaScript runtime 
+ for easily building fast, scalable network applications. Node.js uses an 
+ event-driven, non-blocking I/O model that makes it lightweight and efficient, 
+ perfect for data-intensive real-time applications that run across distributed devices."""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+toolchainopts = {'lowopt': True}
+
+sources = ['node-v%(version)s.tar.gz']
+source_urls = ['http://nodejs.org/dist/v%(version)s/']
+checksums = ['729b44b32b2f82ecd5befac4f7518de0c4e3add34e8fe878f745740a66cbbc01']
+
+# Python is required (only) as build dependency
+allow_system_deps = [('Python', SYS_PYTHON_VERSION)]
+
+sanity_check_paths = {
+    'files': ["bin/node", "bin/npm"],
+    'dirs': ["lib/node_modules", "include/node"]
+}
+
+moduleclass = 'lang'

+ 27 - 0
foss-2018b/orca-1.2.1-foss-2018b-nodejs-8.9.4.eb

@@ -0,0 +1,27 @@
+easyblock = 'Binary'
+
+name = 'orca'
+version = '1.2.1'
+nodejsver = '8.9.4'
+versionsuffix = '-nodejs-%s' % nodejsver
+
+homepage = 'https://github.com/plotly/orca'
+description = """Orca is an Electron app that generates images and reports of Plotly things like 
+ plotly.js graphs, dash apps, dashboards from the command line. Additionally, Orca is the backbone 
+ of Plotly's Image Server. Orca is also an acronym for Open-source Report Creator App."""
+
+toolchain = {'name': 'foss', 'version': '2018b'}
+
+source_urls = ['https://github.com/plotly/orca/archive/']
+sources = ['v%(version)s.tar.gz']
+
+dependencies = [
+    ('nodejs', nodejsver),
+    ('X11', '20180604'),
+]
+
+install_cmd = 'npm install --prefix %(installdir)s -g electron@1.8.4 %(name)s'
+
+sanity_check_commands = ['%(name)s --version']
+
+moduleclass = 'tools'