PyGObject-2.28.6-intel-2018-Python-2.7.13.eb 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. easyblock = 'ConfigureMake'
  2. name = 'PyGObject'
  3. version = '2.28.6'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = 'http://www.pygtk.org/'
  6. description = """Python Bindings for GLib/GObject/GIO/GTK+"""
  7. toolchain = {'name': 'intel', 'version': '2018'}
  8. source_urls = [FTPGNOME_SOURCE]
  9. sources = [SOURCELOWER_TAR_XZ]
  10. patches = ['PyGObject-%(version)s_enum-types.patch']
  11. pyver = '2.7.13'
  12. pyshortver = '.'.join(pyver.split('.')[:2])
  13. dependencies = [
  14. ('Python', pyver),
  15. ('GLib', '2.52.0'),
  16. ('GObject-Introspection', '1.54.1', versionsuffix),
  17. ('PyCairo', '1.16.2', versionsuffix),
  18. ]
  19. configopts = "--disable-introspection"
  20. modextrapaths = {
  21. 'PYTHONPATH': [
  22. 'lib/python%(pyshortver)s/site-packages',
  23. 'lib/python%(pyshortver)s/site-packages/gtk-2.0',
  24. 'lib64/python%(pyshortver)s/site-packages',
  25. 'lib64/python%(pyshortver)s/site-packages/gtk-2.0',
  26. ],
  27. }
  28. sanity_check_paths = {
  29. 'files': ['include/pygtk-%(version_major)s.0/pyglib.h', 'include/pygtk-%(version_major)s.0/pygobject.h',
  30. 'lib/libpyglib-%(version_major)s.0-python.so'],
  31. 'dirs': ['bin', 'lib/python%(pyshortver)s/site-packages/'],
  32. }
  33. sanity_check_commands = [
  34. ('python', "-c 'import gobject'"),
  35. ('python', "-c 'import glib'"),
  36. ('python', "-c 'import gio'"),
  37. ]
  38. moduleclass = 'vis'