ELIC-0.2-foss-2018b-Python-3.6.6.eb 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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', '3.6.6'),
  13. ('ELIC', '0.1', versionsuffix),
  14. ]
  15. exts_defaultclass = 'PythonPackage'
  16. exts_default_options = {
  17. 'source_tmpl': '%(name)s-%(version)s.tar.gz',
  18. }
  19. exts_classmap = {
  20. 'BayesianTools': 'RPackage'
  21. }
  22. exts_list = [
  23. # Python deps, order is important!
  24. ('certifi', '2019.3.9', {
  25. 'source_urls': ['https://pypi.python.org/packages/source/c/certifi/'],
  26. }),
  27. #('salem', '0.2.4', {
  28. # 'modulename': 'salem',
  29. # 'source_tmpl': 'v%(version)s.tar.gz',
  30. # 'source_urls': ['https://github.com/fmaussion/salem/archive'],
  31. #}),
  32. ################################
  33. #('scitools-iris', '2.2.0', {
  34. # 'modulename': 'iris',
  35. # 'source_tmpl': 'v%(version)s.tar.gz',
  36. # 'source_urls': ['https://github.com/SciTools/iris/archive/'],
  37. # 'checksums': ['e4b52e43da16b72af9ccbcb4d53bc401'],
  38. #}),
  39. ################################
  40. # R extension
  41. ('BayesianTools', '0.1.6', {
  42. 'source_tmpl': '%(name)s_%(version)s.tar.gz',
  43. 'source_urls': [
  44. 'http://cran.r-project.org/src/contrib/Archive/sf',
  45. 'http://cran.r-project.org/src/contrib/',
  46. 'http://cran.freestatistics.org/src/contrib',
  47. ],
  48. }),
  49. ]
  50. sanity_check_paths = {
  51. 'files': ['ESMValTool.tar.gz'],
  52. 'dirs': [],
  53. }
  54. modextrapaths = {
  55. 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
  56. 'PYTHONUSERBASE': '',
  57. #'R_LIBS': '',
  58. }
  59. moduleclass = 'numlib'