Sphinx-1.4.8-intel-2018-Python-2.7.13.eb 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. easyblock = 'Bundle'
  2. name = 'Sphinx'
  3. version = '1.4.8'
  4. homepage = 'http://sphinx.pocoo.org/'
  5. description = """Sphinx is a tool that makes it easy to create intelligent and beautiful documentation.
  6. It was originally created for the new Python documentation, and it has excellent facilities for the
  7. documentation of Python projects, but C/C++ is already supported as well, and it is planned to add
  8. special support for other languages as well."""
  9. toolchain = {'name': 'intel', 'version': '2018'}
  10. # this is a bundle of Python packages
  11. exts_defaultclass = 'PythonPackage'
  12. pyver = '2.7.13'
  13. pyshortver = '.'.join(pyver.split('.')[0:2])
  14. versionsuffix = '-Python-%s' % pyver
  15. dependencies = [
  16. ('Python', pyver),
  17. ('Pygments', '2.1.3', '-Python-%(pyver)s'),
  18. ('requests', '2.13.0', versionsuffix),
  19. ]
  20. exts_list = [
  21. ('imagesize', '0.7.1', {
  22. 'source_urls': ['https://pypi.python.org/packages/source/i/imagesize/'],
  23. }),
  24. ('MarkupSafe', '0.23', {
  25. 'source_urls': ['https://pypi.io/packages/source/M/MarkupSafe/'],
  26. 'modulename': 'markupsafe',
  27. }),
  28. ('Docutils', '0.12', {
  29. 'source_tmpl': 'docutils-%(version)s.tar.gz',
  30. 'source_urls': [('http://sourceforge.net/projects/docutils/files/docutils/%(version)s/', 'download')],
  31. }),
  32. ('Jinja2', '2.8', {
  33. 'source_urls': ['https://pypi.python.org/packages/source/J/Jinja2/'],
  34. }),
  35. ('snowballstemmer', '1.2.1', {
  36. 'source_urls': ['https://pypi.python.org/packages/source/s/snowballstemmer/'],
  37. }),
  38. ('Babel', '2.3.4', {
  39. 'source_urls': ['https://pypi.python.org/packages/source/B/Babel/'],
  40. }),
  41. ('alabaster', '0.7.8', {
  42. 'source_urls': ['https://pypi.python.org/packages/source/a/alabaster/'],
  43. }),
  44. (name, version, {
  45. 'source_urls': ['https://pypi.python.org/packages/source/S/Sphinx/'],
  46. 'patches': ['Sphinx-%s-pdflatex_failing_tests.patch' % version],
  47. }),
  48. # sphinx_rtd_theme depends on Sphinx, and should be there to make the tests work
  49. ('sphinx_rtd_theme', '0.1.10a0', {
  50. 'source_urls': ['https://pypi.python.org/packages/source/s/sphinx_rtd_theme/'],
  51. }),
  52. ]
  53. # Sphinx unit tests *after* installing extensions
  54. postinstallcmds = [' && '.join([
  55. "cd %(builddir)s/%(name)s/%(name)s-%(version)s/",
  56. "PYTHONPATH=%(installdir)s/lib/python%(pyshortver)s/site-packages/:$PYTHONPATH make test",
  57. ])]
  58. # specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module
  59. full_sanity_check = True
  60. sanity_check_paths = {
  61. 'files': ['bin/sphinx-%s' % x for x in ['apidoc', 'autogen', 'build', 'quickstart']],
  62. 'dirs': ['lib/python%(pyshortver)s/site-packages'],
  63. }
  64. modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}
  65. moduleclass = 'vis'