mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-16 11:48:06 +01:00

new file: a/ASE/ASE-3.15.0-Python-3.6.2-base.eb new file: a/ATK/ATK-2.18.0.eb new file: c/cairo/cairo-1.14.12.eb new file: c/cairo/cairo-1.14.6.eb modified: f/fontconfig/fontconfig-2.11.1.eb new file: g/GLib/GLib-2.55.0.eb new file: g/GObject-Introspection/GObject-Introspection-1.47.1.eb new file: g/GTK+/GTK+-2.24.28.eb new file: g/Gdk-Pixbuf/Gdk-Pixbuf-2.32.3.eb new file: h/HarfBuzz/HarfBuzz-1.1.3.eb modified: l/libXext/libXext-1.3.3.eb new file: l/libXrender/libXrender-0.9.9.eb new file: l/libglade/libglade-2.6.4.eb new file: n/numpy/numpy-1.13.3-Python-3.6.2-base.eb new file: p/Pango/Pango-1.39.0.eb new file: p/PyCairo/PyCairo-1.10.0-Python-2.7.13-base.eb new file: p/PyCairo/PyCairo-1.15.4-Python-2.7.13.eb new file: p/PyGObject/PyGObject-2.28.6-Python-2.7.13-base.eb new file: p/PyGObject/PyGObject-2.28.6-Python-2.7.13.eb new file: p/PyGObject/PyGObject-2.28.6_enum-types.patch new file: p/PyGTK/PyGTK-2.24.0-Python-2.7.13-base.eb new file: p/PyGTK/PyGTK-2.24.0-Python-2.7.13.eb modified: p/p4vasp/p4vasp-0.3.30-GNU-4.9.3-2.25.eb new file: p/p4vasp/p4vasp-0.3.30.eb new file: s/scipy/scipy-1.0.0-Python-3.6.2-base.eb deleted: g/GObject-Introspection/GObject-Introspection-1.52.0.eb
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
easyblock = 'ConfigureMake'
|
|
|
|
name = 'PyGTK'
|
|
version = '2.24.0'
|
|
|
|
homepage = 'http://www.pygtk.org/'
|
|
description = """PyGTK lets you to easily create programs with a graphical user interface
|
|
using the Python programming language."""
|
|
|
|
toolchain = {'name': 'dummy', 'version': ''}
|
|
|
|
source_urls = [PYPI_SOURCE]
|
|
sources = [SOURCELOWER_TAR_BZ2]
|
|
|
|
#patches = ['pygtk-2.24.0.patch']
|
|
|
|
pyver = '2.7.13'
|
|
pyshortver = '.'.join(pyver.split('.')[:2])
|
|
versionsuffix = '-Python-%s' % pyver
|
|
|
|
glibver = '2.52.0'
|
|
dependencies = [
|
|
('Python', pyver),
|
|
('GLib', glibver),
|
|
('PyGObject', '2.28.6', versionsuffix),
|
|
# ('GTK+', '2.24.28'),
|
|
# ('ATK', '2.18.0'),
|
|
('cairo', '1.14.12'),
|
|
# ('libglade', '2.6.4'),
|
|
]
|
|
|
|
postinstallcmds = [
|
|
"sed -i s#'codegendir=${datadir}'#codegendir=$EBROOTPYGOBJECT/share# %(installdir)s/lib/pkgconfig/pygtk-2.0.pc",
|
|
"sed -i s#'exec_prefix=${prefix}'#exec_prefix=$EBROOTPYGOBJECT# %(installdir)s/bin/pygtk-codegen-2.0",
|
|
]
|
|
|
|
modextrapaths = {
|
|
'PYTHONPATH': [
|
|
'lib/python%s/site-packages' % pyshortver,
|
|
'lib64/python%s/site-packages' % pyshortver,
|
|
'lib/python%s/site-packages/gtk-%%(version_major)s.0' % pyshortver,
|
|
'lib64/python%s/site-packages/gtk-%%(version_major)s.0' % pyshortver,
|
|
],
|
|
}
|
|
|
|
sanity_check_paths = {
|
|
'files': ['lib/pkgconfig/pygtk-%(version_major)s.0.pc'],
|
|
'dirs': ['lib/pygtk'],
|
|
}
|
|
|
|
#sanity_check_commands = [
|
|
# ('python', "-c 'import gtk'"),
|
|
# ('python', "-c 'import gtk.glade'"),
|
|
#]
|
|
|
|
moduleclass = 'vis'
|