ELIC-0.2-foss-2018b-Python-2.7.15.eb 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. easyblock = 'Binary'
  2. name = 'ELIC'
  3. version = '0.2'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = 'https://gogs.elic.ucl.ac.be'
  6. description = """This repo provides additional Python and R extensions for ELIC ecosystem."""
  7. toolchain = {'name': 'foss', 'version': '2018b'}
  8. toolchainopts = {'pic': True}
  9. source_urls = ['https://github.com/ESMValGroup/ESMValTool/archive/']
  10. sources = [{'filename': 'ESMValTool.tar.gz', 'download_filename': 'v2.0a1.tar.gz'}]
  11. dependencies = [
  12. ('Python', '2.7.15'),
  13. ('ELIC', '0.1', versionsuffix),
  14. ('orca', '1.2.1', '-nodejs-8.9.4'),
  15. ]
  16. exts_defaultclass = 'PythonPackage'
  17. exts_default_options = {
  18. 'source_tmpl': '%(name)s-%(version)s.tar.gz',
  19. }
  20. #exts_classmap = {
  21. # 'gdtools': 'RPackage',
  22. #}
  23. exts_list = [
  24. # Python deps, order is important!
  25. ('SkillMetrics', '1.1.6', {
  26. 'modulename': 'skill_metrics',
  27. 'source_urls': ['https://pypi.python.org/packages/source/s/SkillMetrics/'],
  28. }),
  29. ('plotly', '3.8.1', {
  30. 'modulename': 'plotly',
  31. 'source_urls': ['https://pypi.python.org/packages/source/p/plotly/'],
  32. }),
  33. ('Bottleneck', '1.2.1', {
  34. 'modulename': 'bottleneck',
  35. 'source_urls': ['https://pypi.python.org/packages/source/b/Bottleneck/'],
  36. }),
  37. ################################
  38. # R extension
  39. #('gdtools', '0.1.7', {
  40. # 'source_tmpl': '%(name)s_%(version)s.tar.gz',
  41. # 'source_urls': [
  42. # 'http://cran.r-project.org/src/contrib/Archive/gdtools',
  43. # 'http://cran.r-project.org/src/contrib/',
  44. # 'http://cran.freestatistics.org/src/contrib',
  45. # ],
  46. #}),
  47. ]
  48. sanity_check_paths = {
  49. 'files': ['ESMValTool.tar.gz'],
  50. 'dirs': [],
  51. }
  52. modextrapaths = {
  53. 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
  54. 'PYTHONUSERBASE': '',
  55. 'R_LIBS': '',
  56. }
  57. moduleclass = 'numlib'