new file: a/ASE/.ASE-3.15.0-Python-3.6.2-base.eb.swp

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
This commit is contained in:
Lukáš Krupčík 2018-01-02 13:31:26 +01:00
parent 08669f389c
commit 81674795ae
26 changed files with 825 additions and 12 deletions

Binary file not shown.

View File

@ -0,0 +1,31 @@
# IT4Innovations 2017
easyblock = 'PythonPackage'
name = 'ASE'
version = '3.15.0'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'https://wiki.fysik.dtu.dk/ase/'
description = """ASE is a python package providing an open source Atomic Simulation Environment
in the Python scripting language."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['5e22d961b1311ef4ba2d83527f7cc7448abac8cf9bddd1593bee548459263fe8']
dependencies = [
('Python', '2.6.2', '-base'),
('numpy', '1.13.3', versionsuffix),
('scipy', '1.0.0', versionsuffix),
('matplotlib', '2.0.2', versionsuffix),
]
sanity_check_paths = {
'files': ['bin/ase-build', 'bin/ase-db', 'bin/ase-gui', 'bin/ase-info', 'bin/ase-run'],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
moduleclass = 'chem'

35
a/ATK/ATK-2.18.0.eb Normal file
View File

@ -0,0 +1,35 @@
easyblock = 'ConfigureMake'
name = 'ATK'
version = '2.18.0'
homepage = 'https://developer.gnome.org/ATK/stable/'
description = """
ATK provides the set of accessibility interfaces that are implemented by other
toolkits and applications. Using the ATK interfaces, accessibility tools have
full access to view and control running applications.
"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
glibver = '2.52.0'
dependencies = [
('GLib', glibver),
('GObject-Introspection', '1.47.1')
]
configopts = "--enable-introspection=yes"
modextrapaths = {
'XDG_DATA_DIRS': 'share',
}
sanity_check_paths = {
'files': ['lib/libatk-1.0.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'

43
c/cairo/cairo-1.14.12.eb Normal file
View File

@ -0,0 +1,43 @@
easyblock = 'ConfigureMake'
name = 'cairo'
version = '1.14.12'
homepage = 'http://cairographics.org'
description = """Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers,
PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://cairographics.org/releases/']
sources = [SOURCE_TAR_XZ]
dependencies = [
('bzip2', '1.0.6'),
('zlib', '1.2.11'),
('libpng', '1.6.29'),
('freetype', '2.7.1', '-libpng-1.6.29'),
('pixman', '0.34.0'),
('expat', '2.2.0'),
('GLib', '2.52.0'),
('X11', '20170314'),
]
# disable symbol lookup, which requires -lbfd, to avoid link issues with (non-PIC) libiberty.a provided by GCC
configopts = "--enable-symbol-lookup=no --enable-gobject=yes --enable-svg=yes --enable-tee=yes --enable-xlib-xcb "
# workaround for "hidden symbol .* in .* is referenced by DSO" and "ld: final link failed: Bad value"
buildopts = 'LD="$CC" LDFLAGS="$LDFLAGS -shared-intel"'
sanity_check_paths = {
'files': ['bin/cairo-trace', 'lib/cairo/libcairo-trace.so', 'lib/cairo/libcairo-trace.a',
'lib/libcairo.a', 'lib/libcairo-gobject.a', 'lib/libcairo-script-interpreter.a',
'lib/libcairo-gobject.so', 'lib/libcairo-script-interpreter.so', 'lib/libcairo.so'] +
['include/cairo/cairo%s.h' % x for x in ['', '-deprecated', '-features', '-ft', '-gobject', '-pdf', '-ps',
'-script', '-script-interpreter', '-svg', '-version', '-xcb',
'-xlib', '-xlib-xrender']],
'dirs': ['lib/pkgconfig'],
}
moduleclass = 'vis'

56
c/cairo/cairo-1.14.6.eb Normal file
View File

@ -0,0 +1,56 @@
easyblock = 'ConfigureMake'
name = 'cairo'
version = '1.14.6'
homepage = 'http://cairographics.org'
description = """Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers,
PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://cairographics.org/releases/']
sources = [SOURCE_TAR_XZ]
glibver = '2.52.0'
dependencies = [
('bzip2', '1.0.6'),
('zlib', '1.2.11'),
('libpng', '1.6.29'),
('freetype', '2.8'),
('pixman', '0.34.0'),
('fontconfig', '2.11.1'),
('expat', '2.1.0'),
('GLib', glibver),
('libX11', '1.6.3'),
('libxcb', '1.11.1'),
('libXrender', '0.9.9'),
('libXext', '1.3.3'),
('libXau', '1.0.8'),
('libXdmcp', '1.1.2'),
]
builddependencies = [
('renderproto', '0.11'),
('xproto', '7.0.28'),
('xextproto', '7.3.0'),
]
# disable symbol lookup, which requires -lbfd, to avoid link issues with (non-PIC) libiberty.a provided by GCC
configopts = "--enable-symbol-lookup=no --enable-gobject=yes --enable-svg=yes --enable-tee=yes "
# workaround for "hidden symbol .* in .* is referenced by DSO" and "ld: final link failed: Bad value"
buildopts = 'LD="$CC" LDFLAGS="$LDFLAGS -shared-intel"'
sanity_check_paths = {
'files': ['bin/cairo-trace', 'lib/cairo/libcairo-trace.so', 'lib/cairo/libcairo-trace.a',
'lib/libcairo.a', 'lib/libcairo-gobject.a', 'lib/libcairo-script-interpreter.a',
'lib/libcairo-gobject.so', 'lib/libcairo-script-interpreter.so', 'lib/libcairo.so'] +
['include/cairo/cairo%s.h' % x for x in ['', '-deprecated', '-features', '-ft', '-gobject', '-pdf', '-ps',
'-script', '-script-interpreter', '-svg', '-version', '-xcb',
'-xlib', '-xlib-xrender']],
'dirs': ['lib/pkgconfig'],
}
moduleclass = 'vis'

View File

@ -2,6 +2,7 @@ easyblock = 'ConfigureMake'
name = "fontconfig"
version = '2.11.1'
versionsuffix = '-upgrade'
homepage = 'http://www.freedesktop.org/software/fontconfig'
description = """Fontconfig is a library designed to provide system-wide font configuration, customization and
@ -14,7 +15,7 @@ sources = [SOURCE_TAR_GZ]
dependencies = [
('expat', '2.1.0'),
('freetype','2.5.3'),
('freetype','2.8'),
]
configopts = '--disable-docs '

36
g/GLib/GLib-2.55.0.eb Normal file
View File

@ -0,0 +1,36 @@
# Built with EasyBuild version 2.1.1 on 2015-07-07_13-08-51
easyblock = 'ConfigureMake'
name = 'GLib'
version = '2.55.0'
homepage = 'http://www.gtk.org/'
description = """GLib is one of the base libraries of the GTK+ project"""
toolchain = {'name': 'dummy', 'version': ''}
toolchainopts = {'optarch': True, 'pic': True}
source_urls = ['http://ftp.gnome.org/pub/gnome/sources/glib/%(version_major_minor)s/']
sources = ['glib-%(version)s.tar.xz']
dependencies = [
('libffi', '3.2.1'),
('gettext', '0.19.8.1'),
('libxml2', '2.9.4'),
('PCRE', '8.40'),
('util-linux', '2.29.2'),
]
#builddependencies = [('Python', '2.7.13')]
configopts = "--disable-maintainer-mode --disable-silent-rules --disable-libelf --disable-systemtap "
configopts += "--enable-static --enable-shared"
#postinstallcmds = ["sed -i -e 's|#!.*python|#!/usr/bin/env python|' %(installdir)s/bin/*"]
sanity_check_paths = {
'files': ['lib/libglib-%(version_major)s.0.a', 'lib/libglib-%%(version_major)s.0.%s' % SHLIB_EXT],
'dirs': ['bin', 'include'],
}
moduleclass = 'vis'

View File

@ -1,7 +1,7 @@
easyblock = 'ConfigureMake'
name = 'GObject-Introspection'
version = '1.52.0'
version = '1.47.1'
homepage = 'https://wiki.gnome.org/GObjectIntrospection/'
description = """GObject introspection is a middleware layer between C libraries
@ -15,17 +15,19 @@ toolchain = {'name': 'dummy', 'version': ''}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
pyver = '2.7.13'
dependencies = [
('Python', '2.7.13'),
('Python', pyver),
('GLib', '2.52.0'),
('libffi', '3.2.1'),
]
builddependencies = [
('Autotools', '20150215'),
('flex', '2.6.4'),
('flex', '2.6.0'),
('Bison', '3.0.4'),
('cairo', '1.14.8'),
('cairo', '1.14.12'),
]
preconfigopts = "env GI_SCANNER_DISABLE_CACHE=true "

25
g/GTK+/GTK+-2.24.28.eb Normal file
View File

@ -0,0 +1,25 @@
easyblock = 'ConfigureMake'
name = 'GTK+'
version = '2.24.28'
homepage = 'https://developer.gnome.org/gtk+/stable/'
description = """
The GTK+ 2 package contains libraries used for creating graphical user interfaces for applications.
"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
dependencies = [
('ATK', '2.18.0'),
('Gdk-Pixbuf', '2.32.3'),
('Pango', '1.39.0'),
('GObject-Introspection', '1.47.1'),
]
configopts = "--disable-silent-rules --disable-glibtest --enable-introspection=yes --disable-visibility "
moduleclass = 'vis'

View File

@ -0,0 +1,35 @@
easyblock = 'ConfigureMake'
name = 'Gdk-Pixbuf'
version = '2.32.3'
homepage = 'https://developer.gnome.org/gdk-pixbuf/stable/'
description = """
The Gdk Pixbuf is a toolkit for image loading and pixel buffer manipulation.
It is used by GTK+ 2 and GTK+ 3 to load and manipulate images. In the past it
was distributed as part of GTK+ 2 but it was split off into a separate package
in preparation for the change to GTK+ 3.
"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
glibver = '2.52.0'
dependencies = [
('GLib', glibver),
('libjpeg-turbo', '1.5.1'),
('libpng', '1.6.29'),
('LibTIFF', '4.0.7'),
('GObject-Introspection', '1.47.1')
]
configopts = "--disable-maintainer-mode --enable-debug=no --enable-introspection=yes "
configopts += "--disable-Bsymbolic --without-gdiplus --enable-shared --enable-static"
modextrapaths = {
'XDG_DATA_DIRS': 'share',
}
moduleclass = 'vis'

View File

@ -0,0 +1,34 @@
easyblock = 'ConfigureMake'
name = 'HarfBuzz'
version = '1.1.3'
homepage = 'http://www.freedesktop.org/wiki/Software/HarfBuzz'
description = """HarfBuzz is an OpenType text shaping engine."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://www.freedesktop.org/software/harfbuzz/release/']
sources = [SOURCELOWER_TAR_BZ2]
glibver = '2.52.0'
dependencies = [
('GLib', glibver),
('cairo', '1.14.6'),
('freetype', '2.8'),
('GObject-Introspection', '1.47.1')
]
configopts = "--enable-introspection=yes --with-gobject=yes --enable-static --enable-shared --with-cairo "
modextrapaths = {
'GI_TYPELIB_PATH': 'share',
'XDG_DATA_DIRS': 'share',
}
sanity_check_paths = {
'files': ['lib/libharfbuzz.%s' % SHLIB_EXT, 'bin/hb-view'],
'dirs': []
}
moduleclass = 'vis'

View File

@ -10,23 +10,23 @@ toolchain = {'name': 'dummy', 'version': ''}
toolchainopts = {'optarch': True}
sources = [SOURCE_TAR_GZ]
source_urls = ['http://xorg.freedesktop.org/archive/individual/lib/']
source_urls = [XORG_LIB_SOURCE]
builddependencies = [
('xproto', '7.0.26'),
('xproto', '7.0.28'),
('xextproto', '7.3.0'),
('libpthread-stubs', '0.3'),
]
dependencies = [
('libX11', '1.6.2', '-Python-2.7.9'),
('libXdmcp', '1.1.2'),
('libX11', '1.6.3'),
]
sanity_check_paths = {
'files': ['include/X11/extensions/%s' % x for x in [
'dpms.h', 'extutil.h', 'MITMisc.h', 'multibuf.h', 'security.h', 'shape.h', 'sync.h', 'Xag.h', 'Xcup.h',
'Xdbe.h', 'XEVI.h', 'Xext.h', 'Xge.h', 'XLbx.h', 'XShm.h', 'xtestext1.h',
]
'dpms.h', 'extutil.h', 'MITMisc.h', 'multibuf.h', 'security.h', 'shape.h', 'sync.h', 'Xag.h', 'Xcup.h',
'Xdbe.h', 'XEVI.h', 'Xext.h', 'Xge.h', 'XLbx.h', 'XShm.h', 'xtestext1.h',
]
],
'dirs': [],
}

View File

@ -0,0 +1,28 @@
easyblock = 'ConfigureMake'
name = 'libXrender'
version = '0.9.9'
homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """X11 client-side library"""
toolchain = {'name': 'dummy', 'version': ''}
sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]
builddependencies = [
('kbproto', '1.0.7'),
('renderproto', '0.11'),
]
dependencies = [
('libX11', '1.6.3'),
]
sanity_check_paths = {
'files': ['lib/libXrender.a'],
'dirs': [],
}
moduleclass = 'vis'

View File

@ -0,0 +1,27 @@
easyblock = 'ConfigureMake'
name = 'libglade'
version = '2.6.4'
homepage = 'https://developer.gnome.org/libglade/'
description = """Libglade is a library for constructing user interfaces dynamically from XML descriptions."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://ftp.gnome.org/pub/GNOME/sources/libglade/%(version_major_minor)s']
sources = [SOURCE_TAR_GZ]
dependencies = [
('ATK', '2.18.0'),
('GTK+', '2.24.28'),
('GLib', '2.52.0'),
('libxml2', '2.9.4'),
]
sanity_check_paths = {
'files': ['bin/libglade-convert', 'lib/libglade-2.0.a', 'lib/libglade-2.0.%s' % SHLIB_EXT,
'lib/pkgconfig/libglade-2.0.pc'],
'dirs': ['include/libglade-2.0/glade', 'share'],
}
moduleclass = 'lib'

View File

@ -0,0 +1,31 @@
# IT4Innovations 2018
easyblock = 'PythonPackage'
name = 'numpy'
version = '1.13.3'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'http://www.numpy.org'
description = """NumPy is the fundamental package needed for scientific computing with Python."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://github.com/numpy/numpy/releases/download/v%(version)s']
sources = ['%(name)s-%(version)s.tar.gz']
dependencies = [
('Python', '3.6.2', '-base'),
]
#use_pip = True
#unpack_sources = False
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/numpy-1.13.3-py3.6-linux-x86_64.egg/numpy'],
}
sanity_check_commands = [('python', '-c "import numpy; assert(numpy.__version__ == \'%(version)s\')"')]
moduleclass = 'math'

31
p/Pango/Pango-1.39.0.eb Normal file
View File

@ -0,0 +1,31 @@
easyblock = 'ConfigureMake'
name = 'Pango'
version = '1.39.0'
homepage = 'http://www.pango.org/'
description = """Pango is a library for laying out and rendering of text, with an emphasis on internationalization.
Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the
context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
glibver = '2.52.0'
dependencies = [
('GLib', glibver),
('cairo', '1.14.6'),
('HarfBuzz', '1.1.3'),
('GObject-Introspection', '1.47.1'),
('fontconfig', '2.11.1')
]
configopts = "--disable-silent-rules --enable-introspection=yes --enable-static --enable-shared "
modextrapaths = {
'XDG_DATA_DIRS': 'share',
}
moduleclass = 'vis'

View File

@ -0,0 +1,37 @@
easyblock = 'Waf'
name = 'PyCairo'
version = '1.10.0'
homepage = 'http://cairographics.org/pycairo/'
description = """Python bindings for the cairo library"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://cairographics.org/releases/']
# py2cairo is the Python 2 compatible release
sources = ['py2cairo-%(version)s.tar.bz2']
pyver = '2.7.13'
pyshortver = '.'.join(pyver.split('.')[:2])
versionsuffix = '-Python-%s-base' % pyver
configopts = " --nopyc --nopyo "
dependencies = [
('Python', pyver, '-base'),
('numpy', '1.13.0', '-Python-2.7.13-base'),
('scipy', '0.19.1', '-Python-2.7.13-base'),
('cairo', '1.14.6'),
]
modextrapaths = {
'PYTHONPATH': ['lib/python%s/site-packages' % pyshortver, 'lib64/python%s/site-packages' % pyshortver],
}
sanity_check_paths = {
'files': ['include/pycairo/pycairo.h', 'lib/pkgconfig/pycairo.pc'],
'dirs': ['lib/python%s/site-packages/cairo' % pyshortver],
}
moduleclass = 'vis'

View File

@ -0,0 +1,29 @@
easyblock = 'PythonPackage'
name = 'numpy'
version = '1.13.0'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'https://github.com/jupyter/testpath'
description = """Test utilities for code working with files and commands"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://pypi.python.org/packages/dd/b5/47bd2174dbb14e5fa2dd6ad28fd1d54d38e84d29c1b131a00354ddb0cae0/']
sources = ['%(name)s-%(version)s-cp27-cp27mu-manylinux1_x86_64.whl']
dependencies = [
('Python', '2.7.13', '-base'),
]
use_pip = True
unpack_sources = False
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/numpy'],
}
sanity_check_commands = [('python', '-c "import numpy; assert(numpy.__version__ == \'%(version)s\')"')]
moduleclass = 'math'

View File

@ -0,0 +1,53 @@
easyblock = 'ConfigureMake'
name = 'PyGObject'
version = '2.28.6'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'http://www.pygtk.org/'
description = """Python Bindings for GLib/GObject/GIO/GTK+"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
patches = ['PyGObject-%(version)s_enum-types.patch']
pyver = '2.7.13'
pyshortver = '.'.join(pyver.split('.')[:2])
glibver = '2.52.0'
dependencies = [
('Python', '2.7.13', '-base'),
('numpy', '1.13.0', '-Python-2.7.13-base'),
('scipy', '0.19.1', '-Python-2.7.13-base'),
('GLib', glibver),
('GObject-Introspection', '1.47.1'),
('PyCairo', '1.10.0', versionsuffix),
]
configopts = "--disable-introspection"
modextrapaths = {
'PYTHONPATH': [
'lib/python%(pyshortver)s/site-packages',
'lib/python%(pyshortver)s/site-packages/gtk-2.0',
'lib64/python%(pyshortver)s/site-packages',
'lib64/python%(pyshortver)s/site-packages/gtk-2.0',
],
}
sanity_check_paths = {
'files': ['include/pygtk-%(version_major)s.0/pyglib.h', 'include/pygtk-%(version_major)s.0/pygobject.h',
'lib/libpyglib-%(version_major)s.0-python.so'],
'dirs': ['bin', 'lib/python%(pyshortver)s/site-packages/'],
}
sanity_check_commands = [
('python', "-c 'import gobject'"),
('python', "-c 'import glib'"),
('python', "-c 'import gio'"),
]
moduleclass = 'vis'

View File

@ -0,0 +1,51 @@
easyblock = 'ConfigureMake'
name = 'PyGObject'
version = '2.28.6'
versionsuffix = '-Python-%(pyver)s'
homepage = 'http://www.pygtk.org/'
description = """Python Bindings for GLib/GObject/GIO/GTK+"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
patches = ['PyGObject-%(version)s_enum-types.patch']
pyver = '2.7.13'
pyshortver = '.'.join(pyver.split('.')[:2])
glibver = '2.52.0'
dependencies = [
('Python', '2.7.13'),
('GLib', glibver),
('GObject-Introspection', '1.47.1'),
('cairo', '1.14.12'),
]
configopts = "--disable-introspection"
modextrapaths = {
'PYTHONPATH': [
'lib/python%(pyshortver)s/site-packages',
'lib/python%(pyshortver)s/site-packages/gtk-2.0',
'lib64/python%(pyshortver)s/site-packages',
'lib64/python%(pyshortver)s/site-packages/gtk-2.0',
],
}
sanity_check_paths = {
'files': ['include/pygtk-%(version_major)s.0/pyglib.h', 'include/pygtk-%(version_major)s.0/pygobject.h',
'lib/libpyglib-%(version_major)s.0-python.so'],
'dirs': ['bin', 'lib/python%(pyshortver)s/site-packages/'],
}
sanity_check_commands = [
('python', "-c 'import gobject'"),
('python', "-c 'import glib'"),
('python', "-c 'import gio'"),
]
moduleclass = 'vis'

View File

@ -0,0 +1,50 @@
From 42d01f060c5d764baa881d13c103d68897163a49 Mon Sep 17 00:00:00 2001
From: Ryan Lortie <desrt@desrt.ca>
Date: Mon, 12 Mar 2012 16:44:14 -0400
Subject: gio-types.defs: change some enums to flags
These flags types were originally incorrectly handled in glib as being
enums. That bug was fixed, but they're still enums here, leading to
warnings about the mismatch.
Change them to flags.
https://bugzilla.gnome.org/show_bug.cgi?id=668522
---
gio/gio-types.defs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gio/gio-types.defs b/gio/gio-types.defs
index 331e0bc..7eee5c8 100644
--- a/gio/gio-types.defs
+++ b/gio/gio-types.defs
@@ -526,7 +526,7 @@
)
)
-(define-enum MountMountFlags
+(define-flags MountMountFlags
(in-module "gio")
(c-name "GMountMountFlags")
(gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
@@ -545,7 +545,7 @@
)
)
-(define-enum DriveStartFlags
+(define-flags DriveStartFlags
(in-module "gio")
(c-name "GDriveStartFlags")
(gtype-id "G_TYPE_DRIVE_START_FLAGS")
@@ -770,7 +770,7 @@
)
)
-(define-enum SocketMsgFlags
+(define-flags SocketMsgFlags
(in-module "gio")
(c-name "GSocketMsgFlags")
(gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
--
cgit v0.11.2

View File

@ -0,0 +1,58 @@
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-base' % pyver
glibver = '2.52.0'
dependencies = [
('Python', pyver, '-base'),
('numpy', '1.13.0', '-Python-2.7.13-base'),
('scipy', '0.19.1', '-Python-2.7.13-base'),
('GLib', glibver),
('PyGObject', '2.28.6', versionsuffix),
('GTK+', '2.24.28'),
('ATK', '2.18.0'),
('PyCairo', '1.10.0', versionsuffix),
('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'

View File

@ -0,0 +1,56 @@
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'

View File

@ -14,6 +14,10 @@ source_urls = [
]
sources = [SOURCELOWER_TGZ]
dependencies = [
('PyGTK', '2.24.0', '-Python-2.7.13', True),
]
skipsteps = ['install', 'sanitycheck']
moduleclass = 'vis'

23
p/p4vasp/p4vasp-0.3.30.eb Normal file
View File

@ -0,0 +1,23 @@
name = 'p4vasp'
version = '0.3.30'
homepage = 'http://www.p4vasp.at'
description = """p4vasp is a visualization suite for the Vienna Ab-initio Simulation Package
(VASP). It contains an extensible GUI framework, that can be used to view
material structure, density of states, band-structure and more.
"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [
'http://www.p4vasp.at/index.php/downloads/viewdownload/2-source-code'
]
sources = [SOURCELOWER_TGZ]
dependencies = [
('PyGTK', '2.24.0', '-Python-2.7.13-base', True),
]
skipsteps = ['install', 'sanitycheck']
moduleclass = 'vis'

View File

@ -0,0 +1,37 @@
# IT4Innovations 2018
easyblock = 'PythonPackage'
name = 'scipy'
version = '1.0.0'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'http://scipy.org/scipylib'
description = """SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering.
It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and
image processing, ODE solvers, and more."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://github.com/scipy/scipy/releases/download/v%(version)s']
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('Python', '3.6.2', '-base'),
('numpy', '1.13.3', versionsuffix),
]
builddependencies = [
('imkl', '2017.1.132', '-iimpi-2017a'),
]
#use_pip = True
#unpack_sources = False
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/scipy-1.0.0-py3.6-linux-x86_64.egg/scipy'],
}
sanity_check_commands = [('python', '-c "import scipy; assert(scipy.__version__ == \'%(version)s\')"')]
moduleclass = 'math'