PyGObject-3.28.3-foss-2018b-Python-3.6.6.eb 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. easyblock = 'ConfigureMake'
  2. name = 'PyGObject'
  3. version = '3.28.3'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = 'http://www.pygtk.org/'
  6. description = """Python Bindings for GLib/GObject/GIO/GTK+"""
  7. toolchain = {'name': 'foss', 'version': '2018b'}
  8. source_urls = [FTPGNOME_SOURCE]
  9. sources = [SOURCELOWER_TAR_XZ]
  10. checksums = ['3bac63c86bb963aa401f97859464aa90']
  11. dependencies = [
  12. ('Python', '3.6.6'),
  13. ('GLib', '2.54.3'),
  14. ('GObject-Introspection', '1.54.1', versionsuffix),
  15. ('PyCairo', '1.18.0', versionsuffix),
  16. ]
  17. preconfigopts = "env PYTHON=python3"
  18. modextrapaths = {
  19. 'PYTHONPATH': [
  20. 'lib/python%(pyshortver)s/site-packages',
  21. 'lib/python%(pyshortver)s/site-packages/gtk-2.0',
  22. 'lib64/python%(pyshortver)s/site-packages',
  23. 'lib64/python%(pyshortver)s/site-packages/gtk-2.0',
  24. ],
  25. }
  26. sanity_check_paths = {
  27. 'files': ['lib/python%(pyshortver)s/site-packages/gi/_gi_cairo.cpython-36m-x86_64-linux-gnu.so'],
  28. 'dirs': ['include/pygobject-3.0'],
  29. }
  30. sanity_check_commands = [
  31. ('python3', "-c 'import gi'"),
  32. ('python3', "-c 'from gi.repository import Gio'"),
  33. ]
  34. moduleclass = 'vis'