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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. ('pickleshare', '0.7.5', {
  26. 'modulename': 'pickleshare',
  27. 'source_urls': ['https://pypi.python.org/packages/source/p/pickleshare/'],
  28. }),
  29. ('simplegeneric', '0.8.1', {
  30. 'source_tmpl': '%(name)s-%(version)s.zip',
  31. 'modulename': 'simplegeneric',
  32. 'source_urls': ['https://pypi.python.org/packages/source/s/simplegeneric/'],
  33. }),
  34. ('prompt_toolkit', '1.0.16', {
  35. 'modulename': 'prompt_toolkit',
  36. 'source_urls': ['https://pypi.python.org/packages/source/p/prompt_toolkit/'],
  37. }),
  38. ('Pygments', '2.3.1', {
  39. 'modulename': 'pygments',
  40. 'source_urls': ['https://pypi.python.org/packages/source/p/Pygments/'],
  41. }),
  42. ('pexpect', '4.7.0', {
  43. 'modulename': 'pexpect',
  44. 'source_urls': ['https://pypi.python.org/packages/source/p/pexpect/'],
  45. }),
  46. ('ipython', '5.8.0', {
  47. 'modulename': 'IPython',
  48. 'source_urls': ['https://pypi.python.org/packages/source/i/ipython/'],
  49. }),
  50. ################################
  51. # R extension
  52. #('gdtools', '0.1.7', {
  53. # 'source_tmpl': '%(name)s_%(version)s.tar.gz',
  54. # 'source_urls': [
  55. # 'http://cran.r-project.org/src/contrib/Archive/gdtools',
  56. # 'http://cran.r-project.org/src/contrib/',
  57. # 'http://cran.freestatistics.org/src/contrib',
  58. # ],
  59. #}),
  60. ]
  61. sanity_check_paths = {
  62. 'files': ['ESMValTool.tar.gz'],
  63. 'dirs': [],
  64. }
  65. modextrapaths = {
  66. 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
  67. 'PYTHONUSERBASE': '',
  68. 'R_LIBS': '',
  69. }
  70. moduleclass = 'numlib'