ANTLR-2.7.7-foss-2018b-Python-2.7.15.eb 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. easyblock = 'ConfigureMake'
  2. name = 'ANTLR'
  3. version = '2.7.7'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = 'http://www.antlr2.org/'
  6. description = """ANTLR, ANother Tool for Language Recognition, (formerly PCCTS)
  7. is a language tool that provides a framework for constructing recognizers,
  8. compilers, and translators from grammatical descriptions containing
  9. Java, C#, C++, or Python actions."""
  10. toolchain = {'name': 'foss', 'version': '2018b'}
  11. source_urls = ['http://www.antlr2.org/download/']
  12. sources = [SOURCELOWER_TAR_GZ]
  13. patches = ['%(name)s-%(version)s_includes.patch']
  14. checksums = [
  15. '853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9', # antlr-2.7.7.tar.gz
  16. 'd167d3248a03301bc93efcb37d5df959aae6794968e42231af0b0dd26d6a2e66', # ANTLR-2.7.7_includes.patch
  17. ]
  18. dependencies = [
  19. ('Java', '1.8.0_192', '', True),
  20. ('Python', '2.7.15'),
  21. ]
  22. configopts = '--disable-examples --disable-csharp '
  23. sanity_check_paths = {
  24. 'files': ['bin/antlr', 'bin/antlr-config'],
  25. 'dirs': ['include'],
  26. }
  27. moduleclass = 'tools'