nodejs-8.9.4-intel-2018-Python-2.7.13.eb 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. easyblock = 'ConfigureMake'
  2. name = 'nodejs'
  3. version = '8.9.4'
  4. versionsuffix = '-Python-2.7.13'
  5. homepage = 'http://nodejs.org'
  6. description = """Node.js is a platform built on Chrome's JavaScript runtime
  7. for easily building fast, scalable network applications. Node.js uses an
  8. event-driven, non-blocking I/O model that makes it lightweight and efficient,
  9. perfect for data-intensive real-time applications that run across distributed devices."""
  10. toolchain = {'name': 'intel', 'version': '2018'}
  11. toolchainopts = {'lowopt': True}
  12. sources = ['node-v%(version)s.tar.gz']
  13. source_urls = ['http://nodejs.org/dist/v%(version)s/']
  14. checksums = ['729b44b32b2f82ecd5befac4f7518de0c4e3add34e8fe878f745740a66cbbc01']
  15. pyver = '2.7.13'
  16. pyshortver = '.'.join(pyver.split('.')[0:2])
  17. # Python is required (only) as build dependency
  18. builddependencies = [
  19. ('Python', pyver),
  20. ]
  21. modextrapaths = {
  22. 'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages', 'lib64/python%(pyshortver)s/site-packages'],
  23. }
  24. # Python is required (only) as build dependency
  25. #allow_system_deps = [('Python', SYS_PYTHON_VERSION)]
  26. sanity_check_paths = {
  27. 'files': ["bin/node", "bin/npm"],
  28. 'dirs': ["lib/node_modules", "include/node"]
  29. }
  30. moduleclass = 'lang'