GObject-Introspection-1.54.1-foss-2018b-Python-3.6.6.eb 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. easyblock = 'ConfigureMake'
  2. name = 'GObject-Introspection'
  3. version = '1.54.1'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = 'https://wiki.gnome.org/GObjectIntrospection/'
  6. description = """GObject introspection is a middleware layer between C
  7. libraries (using GObject) and language bindings. The C library can be scanned
  8. at compile time and generate a metadata file, in addition to the actual
  9. native C library. Then at runtime, language bindings can read this
  10. metadata and automatically provide bindings to call into the C library."""
  11. toolchain = {'name': 'foss', 'version': '2018b'}
  12. source_urls = [FTPGNOME_SOURCE]
  13. sources = [SOURCELOWER_TAR_XZ]
  14. checksums = ['b88ded5e5f064ab58a93aadecd6d58db2ec9d970648534c63807d4f9a7bb877e']
  15. builddependencies = [
  16. ('Autotools', '20180311'),
  17. ('flex', '2.6.4'),
  18. ('Bison', '3.0.5'),
  19. ('cairo', '1.14.12'),
  20. ('pkg-config', '0.29.2'),
  21. ]
  22. dependencies = [
  23. ('Python', '3.6.6'),
  24. ('util-linux', '2.32'),
  25. ('GLib', '2.54.3'),
  26. ('libffi', '3.2.1'),
  27. ]
  28. preconfigopts = "env GI_SCANNER_DISABLE_CACHE=true PYTHON=python3"
  29. # avoid using hard-coded path to 'python' in shebang of scripts
  30. buildopts = "PYTHON=python3"
  31. modextrapaths = {
  32. 'GI_TYPELIB_PATH': 'share',
  33. 'XDG_DATA_DIRS': 'share',
  34. }
  35. sanity_check_paths = {
  36. 'files': ['bin/g-ir-%s' % x for x in ['annotation-tool', 'compiler',
  37. 'generate', 'scanner']] +
  38. ['lib/libgirepository-1.0.%s' % x for x in [SHLIB_EXT, 'a']],
  39. 'dirs': ['include', 'share']
  40. }
  41. moduleclass = 'devel'