mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00
new file: g/Graphviz/Graphviz-2.44.1-GCCcore-9.3.0-Java-11-Python-3.8.2.eb
new file: g/Graphviz/Graphviz-2.44.1-GCCcore-9.3.0-Java-11.eb new file: h/h5py/h5py-2.9.0-GCC-9.3.0-Python-3.8.6.eb new file: h/h5py/h5py-3.1.0-intel-2020a-Python-3.8.6.eb new file: m/mpi4py/mpi4py-3.0.1-intel-2020a-Python-3.8.6.eb new file: p/PyQt5/PyQt5-5.13.1-GCC-9.3.0-Python-3.8.6.eb new file: p/PyQt5/PyQt5-5.14.1-GCC-9.3.0-Python-3.8.6.eb new file: p/PyQt5/PyQt5-5.15.1-GCCcore-9.3.0-Python-3.8.2.eb new file: p/PyQt5/PyQt5-5.15.1-GCCcore-9.3.0.eb new file: p/pkgconfig/pkgconfig-1.5.1-GCCcore-9.3.0-Python-3.8.6.eb new file: p/pybind11/pybind11-2.4.3-GCCcore-9.3.0-Python-3.8.6.eb new file: s/SciPy-bundle/SciPy-bundle-2020.03-intel-2020a-Python-3.8.6.eb
This commit is contained in:
parent
6482d5e7a2
commit
35c211a68e
@ -0,0 +1,91 @@
|
||||
easyblock = 'ConfigureMake'
|
||||
|
||||
name = 'Graphviz'
|
||||
version = '2.44.1'
|
||||
versionsuffix = '-Java-%(javaver)s-Python-%(pyver)s'
|
||||
local_pyver_major = '3'
|
||||
|
||||
homepage = 'https://www.graphviz.org/'
|
||||
description = """Graphviz is open source graph visualization software. Graph visualization
|
||||
is a way of representing structural information as diagrams of
|
||||
abstract graphs and networks. It has important applications in networking,
|
||||
bioinformatics, software engineering, database and web design, machine learning,
|
||||
and in visual interfaces for other technical domains."""
|
||||
|
||||
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
|
||||
toolchainopts = {'cstd': 'c++11'}
|
||||
|
||||
source_urls = ['https://gitlab.com/graphviz/graphviz/-/archive/%(version)s']
|
||||
sources = [SOURCELOWER_TAR_GZ]
|
||||
patches = ['Graphviz-2.42.2_skip-install-data-hook.patch']
|
||||
checksums = [
|
||||
'3aac783a15341c2808141cc38ead408bf3d6ad203e0ed3946c9df595b760edda', # graphviz-2.44.1.tar.gz
|
||||
'3d06544c435a6255f6a8f3b36df3102060667b50ffd72e4942bbe546b9363859', # Graphviz-2.42.2_skip-install-data-hook.patch
|
||||
]
|
||||
|
||||
builddependencies = [
|
||||
('Autotools', '20180311'),
|
||||
('binutils', '2.34'),
|
||||
('Bison', '3.5.3'),
|
||||
('flex', '2.6.4'),
|
||||
('SWIG', '4.0.1'),
|
||||
('pkg-config', '0.29.2'),
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
('Java', '11', '', True),
|
||||
('Python', '3.8.2'),
|
||||
('FriBidi', '1.0.9'),
|
||||
('Gdk-Pixbuf', '2.40.0'),
|
||||
('Ghostscript', '9.52'),
|
||||
('GTS', '0.7.6'),
|
||||
('libgd', '2.3.0'),
|
||||
('Pango', '1.44.7'),
|
||||
('Perl', '5.30.2'),
|
||||
('Qt5', '5.14.1'),
|
||||
('Tcl', '8.6.10'),
|
||||
('zlib', '1.2.11'),
|
||||
]
|
||||
|
||||
preconfigopts = './autogen.sh NOCONFIG && '
|
||||
|
||||
configopts = '--enable-python%s=yes ' % local_pyver_major
|
||||
configopts += '--enable-guile=no --enable-lua=no --enable-ocaml=no '
|
||||
configopts += '--enable-r=no --enable-ruby=no --enable-php=no '
|
||||
# Use ltdl from libtool in EB
|
||||
configopts += '--enable-ltdl --without-included-ltdl --disable-ltdl-install '
|
||||
configopts += '--with-ltdl-include=$EBROOTLIBTOOL/include --with-ltdl-lib=$EBROOTLIBTOOL/lib '
|
||||
# Override the hardcoded paths to Java libraries
|
||||
configopts += '--with-javaincludedir=$JAVA_HOME/include --with-javaincludedir=$JAVA_HOME/include/linux '
|
||||
configopts += '--with-javalibdir=$JAVA_HOME/lib'
|
||||
|
||||
prebuildopts = 'qmake -o cmd/gvedit/qMakefile cmd/gvedit/gvedit.pro && '
|
||||
|
||||
postinstallcmds = ['%(installdir)s/bin/dot -c'] # Writes plugin configuration
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['bin/%s' % x for x in ['acyclic', 'bcomps', 'ccomps', 'cluster', 'diffimg', 'dijkstra', 'dot',
|
||||
'dot_builtins', 'dotty', 'edgepaint', 'gc', 'gml2gv', 'graphml2gv', 'gv2gml',
|
||||
'gvcolor', 'gvedit', 'gvgen', 'gvmap', 'gvmap.sh', 'gvpack', 'gvpr', 'gxl2gv',
|
||||
'lefty', 'lneato', 'mm2gv', 'nop', 'prune', 'sccmap', 'tred', 'unflatten',
|
||||
'vimdot']] +
|
||||
['lib/%s.%s' % (x, SHLIB_EXT) for x in ['libcdt', 'libcgraph', 'libgvc', 'libgvpr', 'liblab_gamut',
|
||||
'libpathplan', 'libxdot']],
|
||||
'dirs': ['include', 'lib/graphviz', 'lib/graphviz/java', 'lib/graphviz/python%s' % local_pyver_major,
|
||||
'lib/pkgconfig', 'share']
|
||||
}
|
||||
|
||||
sanity_check_commands = [
|
||||
("test ! -d $EBROOTTCL/lib/*/graphviz", ''),
|
||||
("test ! -d $EBROOTTCL/lib64/*/graphviz", ''),
|
||||
('python', '-c "import gv"'),
|
||||
]
|
||||
|
||||
modextrapaths = {
|
||||
'CLASSPATH': 'lib/graphviz/java',
|
||||
'LD_LIBRARY_PATH': 'lib/graphviz/java',
|
||||
'PYTHONPATH': 'lib/graphviz/python%s' % local_pyver_major,
|
||||
'TCLLIBPATH': 'lib/graphviz/tcl',
|
||||
}
|
||||
|
||||
moduleclass = 'vis'
|
89
g/Graphviz/Graphviz-2.44.1-GCCcore-9.3.0-Java-11.eb
Normal file
89
g/Graphviz/Graphviz-2.44.1-GCCcore-9.3.0-Java-11.eb
Normal file
@ -0,0 +1,89 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'ConfigureMake'
|
||||
|
||||
name = 'Graphviz'
|
||||
version = '2.44.1'
|
||||
versionsuffix = '-Java-%(javaver)s'
|
||||
|
||||
homepage = 'https://www.graphviz.org/'
|
||||
description = """Graphviz is open source graph visualization software. Graph visualization
|
||||
is a way of representing structural information as diagrams of
|
||||
abstract graphs and networks. It has important applications in networking,
|
||||
bioinformatics, software engineering, database and web design, machine learning,
|
||||
and in visual interfaces for other technical domains."""
|
||||
|
||||
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
|
||||
toolchainopts = {'cstd': 'c++11'}
|
||||
|
||||
source_urls = ['https://gitlab.com/graphviz/graphviz/-/archive/%(version)s']
|
||||
sources = [SOURCELOWER_TAR_GZ]
|
||||
patches = ['Graphviz-2.42.2_skip-install-data-hook.patch']
|
||||
checksums = [
|
||||
'3aac783a15341c2808141cc38ead408bf3d6ad203e0ed3946c9df595b760edda', # graphviz-2.44.1.tar.gz
|
||||
'3d06544c435a6255f6a8f3b36df3102060667b50ffd72e4942bbe546b9363859', # Graphviz-2.42.2_skip-install-data-hook.patch
|
||||
]
|
||||
|
||||
builddependencies = [
|
||||
('Autotools', '20180311'),
|
||||
('binutils', '2.34'),
|
||||
('Bison', '3.5.3'),
|
||||
('flex', '2.6.4'),
|
||||
('SWIG', '4.0.1'),
|
||||
('pkg-config', '0.29.2'),
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
('Java', '11', '', True),
|
||||
('FriBidi', '1.0.9'),
|
||||
('Gdk-Pixbuf', '2.40.0'),
|
||||
('Ghostscript', '9.52'),
|
||||
('GTS', '0.7.6'),
|
||||
('libgd', '2.3.0'),
|
||||
('Pango', '1.44.7'),
|
||||
('Perl', '5.30.2'),
|
||||
('Qt5', '5.13.1', '', True),
|
||||
('Tcl', '8.6.10'),
|
||||
('zlib', '1.2.11'),
|
||||
]
|
||||
|
||||
preconfigopts = './autogen.sh NOCONFIG && '
|
||||
|
||||
configopts = '--enable-python=no '
|
||||
configopts += '--enable-guile=no --enable-lua=no --enable-ocaml=no '
|
||||
configopts += '--enable-r=no --enable-ruby=no --enable-php=no '
|
||||
# Use ltdl from libtool in EB
|
||||
configopts += '--enable-ltdl --without-included-ltdl --disable-ltdl-install '
|
||||
configopts += '--with-ltdl-include=$EBROOTLIBTOOL/include --with-ltdl-lib=$EBROOTLIBTOOL/lib '
|
||||
# Override the hardcoded paths to Java libraries
|
||||
configopts += '--with-javaincludedir=$JAVA_HOME/include --with-javaincludedir=$JAVA_HOME/include/linux '
|
||||
configopts += '--with-javalibdir=$JAVA_HOME/lib'
|
||||
|
||||
prebuildopts = 'qmake -o cmd/gvedit/qMakefile cmd/gvedit/gvedit.pro && '
|
||||
|
||||
postinstallcmds = ['%(installdir)s/bin/dot -c'] # Writes plugin configuration
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['bin/%s' % x for x in ['acyclic', 'bcomps', 'ccomps', 'cluster', 'diffimg', 'dijkstra', 'dot',
|
||||
'dot_builtins', 'dotty', 'edgepaint', 'gc', 'gml2gv', 'graphml2gv', 'gv2gml',
|
||||
'gvcolor', 'gvedit', 'gvgen', 'gvmap', 'gvmap.sh', 'gvpack', 'gvpr', 'gxl2gv',
|
||||
'lefty', 'lneato', 'mm2gv', 'nop', 'prune', 'sccmap', 'tred', 'unflatten',
|
||||
'vimdot']] +
|
||||
['lib/%s.%s' % (x, SHLIB_EXT) for x in ['libcdt', 'libcgraph', 'libgvc', 'libgvpr', 'liblab_gamut',
|
||||
'libpathplan', 'libxdot']],
|
||||
'dirs': ['include', 'lib/graphviz', 'lib/graphviz/java', 'lib/pkgconfig', 'share']
|
||||
}
|
||||
|
||||
sanity_check_commands = [
|
||||
("test ! -d $EBROOTTCL/lib/*/graphviz", ''),
|
||||
("test ! -d $EBROOTTCL/lib64/*/graphviz", ''),
|
||||
]
|
||||
|
||||
modextrapaths = {
|
||||
'CLASSPATH': 'lib/graphviz/java',
|
||||
'LD_LIBRARY_PATH': 'lib/graphviz/java',
|
||||
'TCLLIBPATH': 'lib/graphviz/tcl',
|
||||
}
|
||||
|
||||
moduleclass = 'vis'
|
25
h/h5py/h5py-2.9.0-GCC-9.3.0-Python-3.8.6.eb
Normal file
25
h/h5py/h5py-2.9.0-GCC-9.3.0-Python-3.8.6.eb
Normal file
@ -0,0 +1,25 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'PythonPackage'
|
||||
|
||||
name = 'h5py'
|
||||
version = '2.9.0'
|
||||
|
||||
homepage = 'https://github.com/jupyter/testpath'
|
||||
description = """Test utilities for code working with files and commands"""
|
||||
|
||||
toolchain = {'name': 'GCC', 'version': '9.3.0'}
|
||||
|
||||
source_urls = [PYPI_SOURCE]
|
||||
sources = [SOURCE_TAR_GZ]
|
||||
|
||||
dependencies = [
|
||||
('HDF5', '1.10.6', '', ('intel', '2020a')),
|
||||
('Python', '3.8.6'),
|
||||
('mpi4py', '3.0.1', '-Python-3.8.6',('intel', '2020a')),
|
||||
]
|
||||
|
||||
sanity_check_paths = {'files': [], 'dirs': [
|
||||
'lib/python3.8/site-packages/%(name)s-%(version)s-py3.8-linux-x86_64.egg'], }
|
||||
moduleclass = 'python'
|
36
h/h5py/h5py-3.1.0-intel-2020a-Python-3.8.6.eb
Normal file
36
h/h5py/h5py-3.1.0-intel-2020a-Python-3.8.6.eb
Normal file
@ -0,0 +1,36 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'PythonPackage'
|
||||
|
||||
name = 'h5py'
|
||||
version = '3.1.0'
|
||||
versionsuffix = '-Python-%(pyver)s'
|
||||
|
||||
homepage = 'https://www.h5py.org/'
|
||||
description = """HDF5 for Python (h5py) is a general-purpose Python interface to the Hierarchical Data Format library,
|
||||
version 5. HDF5 is a versatile, mature scientific software library designed for the fast, flexible storage of enormous
|
||||
amounts of data."""
|
||||
|
||||
toolchain = {'name': 'intel', 'version': '2020a'}
|
||||
toolchainopts = {'usempi': True}
|
||||
|
||||
source_urls = [PYPI_SOURCE]
|
||||
sources = [SOURCE_TAR_GZ]
|
||||
#patches = ['h5py-%(version)s_avoid-mpi-init.patch']
|
||||
|
||||
builddependencies = [('pkgconfig', '1.5.1', versionsuffix)]
|
||||
|
||||
dependencies = [
|
||||
('Python', '3.8.6'),
|
||||
('SciPy-bundle', '2020.03', versionsuffix),
|
||||
('HDF5', '1.10.6', '', ('iimpi', '2020a')),
|
||||
]
|
||||
|
||||
use_pip = False
|
||||
download_dep_fail = True
|
||||
|
||||
# to really use mpi enabled hdf5 we now seem to need a configure step, which is the reason we can't use pip
|
||||
#prebuildopts = 'python setup.py configure --mpi --hdf5=$EBROOTHDF5 && '
|
||||
|
||||
moduleclass = 'data'
|
28
m/mpi4py/mpi4py-3.0.1-intel-2020a-Python-3.8.6.eb
Normal file
28
m/mpi4py/mpi4py-3.0.1-intel-2020a-Python-3.8.6.eb
Normal file
@ -0,0 +1,28 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'PythonPackage'
|
||||
|
||||
name = 'mpi4py'
|
||||
version = '3.0.1'
|
||||
versionsuffix = '-Python-3.8.6'
|
||||
|
||||
homepage = 'http://mpi4py.scipy.org/docs'
|
||||
description = """MPI for Python (mpi4py) provides bindings of the Message Passing Interface (MPI) standard for
|
||||
the Python programming language, allowing any Python program to exploit multiple processors."""
|
||||
|
||||
toolchain = {'name': 'intel', 'version': '2020a'}
|
||||
|
||||
source_urls = [PYPI_SOURCE]
|
||||
sources = [SOURCE_TAR_GZ]
|
||||
|
||||
dependencies = [
|
||||
('Python', '3.8.6'),
|
||||
]
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': [],
|
||||
'dirs': ['lib/python3.8/site-packages/mpi4py'],
|
||||
}
|
||||
|
||||
moduleclass = 'python'
|
114
p/PyQt5/PyQt5-5.13.1-GCC-9.3.0-Python-3.8.6.eb
Normal file
114
p/PyQt5/PyQt5-5.13.1-GCC-9.3.0-Python-3.8.6.eb
Normal file
@ -0,0 +1,114 @@
|
||||
# IT4Innoations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'Bundle'
|
||||
|
||||
name = 'PyQt5'
|
||||
version = '5.13.1'
|
||||
|
||||
homepage = 'https://www.riverbankcomputing.co.uk/software/pyqt'
|
||||
description = """PyQt5 is a set of Python bindings for v5 of the Qt application framework from The Qt Company.
|
||||
This bundle includes PyQtWebEngine, a set of Python bindings for The Qt Company’s Qt WebEngine framework."""
|
||||
|
||||
toolchain = {'name': 'GCC', 'version': '9.3.0'}
|
||||
toolchainopts = {'cstd': 'c++11'}
|
||||
|
||||
dependencies = [
|
||||
('Qt5', '5.13.1', '', True),
|
||||
('Python', '3.8.6'),
|
||||
]
|
||||
|
||||
default_easyblock = 'ConfigureMakePythonPackage'
|
||||
|
||||
local_pylibdir = '%(installdir)s/lib/python3.8/site-packages'
|
||||
|
||||
local_sip_configopts = " ".join([
|
||||
"configure.py",
|
||||
"--bindir %(installdir)s/bin",
|
||||
"--incdir %(installdir)s/include",
|
||||
"--destdir %s" % local_pylibdir,
|
||||
"--sipdir=%(installdir)s/share/sip",
|
||||
# required for PyQt5, cfr. https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#downloading-sip
|
||||
"--sip-module PyQt5.sip",
|
||||
"--no-dist-info",
|
||||
"--no-stubs",
|
||||
])
|
||||
|
||||
local_pyqt5_configopts = " ".join([
|
||||
"configure.py",
|
||||
"--confirm-license --verbose --no-python-dbus",
|
||||
"--bindir=%(installdir)s/bin",
|
||||
"--destdir=%s" % local_pylibdir,
|
||||
"--sip=%(installdir)s/bin/sip",
|
||||
"--sip-incdir %(installdir)s/include/",
|
||||
"--sipdir=%(installdir)s/share/sip/PyQt5",
|
||||
"--designer-plugindir=%(installdir)s/plugins/designer",
|
||||
"--qml-plugindir=%(installdir)s/plugins/PyQt5",
|
||||
"--qsci-api-destdir=%(installdir)s/qsci",
|
||||
"--no-dist-info",
|
||||
"--no-stubs",
|
||||
])
|
||||
|
||||
local_pyqtweb_configopts = " ".join([
|
||||
"configure.py",
|
||||
"--verbose",
|
||||
"--destdir=%s/PyQt5" % local_pylibdir,
|
||||
"--apidir=%(installdir)s/qsci",
|
||||
"--pyqt-sipdir=%(builddir)s/PyQt5_gpl-%(version)s/sip",
|
||||
"--no-dist-info",
|
||||
"--no-stubs",
|
||||
])
|
||||
|
||||
local_setup_env = "export PATH=%(installdir)s/bin:$PATH && "
|
||||
local_setup_env += "export PYTHONPATH=%(installdir)s/lib/python3.8/site-packages:$PYTHONPATH && "
|
||||
local_sipver = '4.19.19'
|
||||
components = [
|
||||
('SIP', local_sipver, {
|
||||
'source_urls': ['https://www.riverbankcomputing.com/static/Downloads/sip/%s' % local_sipver],
|
||||
'sources': [SOURCELOWER_TAR_GZ],
|
||||
'checksums': ['5436b61a78f48c7e8078e93a6b59453ad33780f80c644e5f3af39f94be1ede44'],
|
||||
'start_dir': 'sip-%s' % local_sipver,
|
||||
'configopts': local_sip_configopts,
|
||||
'options': {'modulename': 'PyQt5.sip'},
|
||||
}),
|
||||
(name, version, {
|
||||
'source_urls': ['https://www.riverbankcomputing.com/static/Downloads/%(name)s/%(version)s/'],
|
||||
'sources': ['%(name)s_gpl-%(version)s.tar.gz'],
|
||||
'checksums': ['54b7f456341b89eeb3930e786837762ea67f235e886512496c4152ebe106d4af'],
|
||||
'start_dir': '%(name)s_gpl-%(version)s',
|
||||
'preconfigopts': local_setup_env,
|
||||
'configopts': local_pyqt5_configopts,
|
||||
'preinstallopts': local_setup_env,
|
||||
'options': {'modulename': 'PyQt5.QtCore'},
|
||||
}),
|
||||
('PyQtWebEngine', version, {
|
||||
'source_urls': ['https://www.riverbankcomputing.com/static/Downloads/%(name)s/%(version)s/'],
|
||||
'sources': ['%(name)s_gpl-%(version)s.tar.gz'],
|
||||
'checksums': ['8d8c1262005d8465653a848bf67327fb338e0d3c2d26090a6f7eb071dbb42092'],
|
||||
'start_dir': '%(name)s_gpl-%(version)s',
|
||||
'preconfigopts': local_setup_env,
|
||||
'configopts': local_pyqtweb_configopts,
|
||||
'options': {'modulename': 'PyQt5.QtWebEngine'},
|
||||
}),
|
||||
]
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['bin/sip', 'include/sip.h'] + ['lib/python3.8/site-packages/%s' % x for x in (
|
||||
'sipconfig.py',
|
||||
'sipdistutils.py',
|
||||
'%%(name)s/sip.%s' % SHLIB_EXT,
|
||||
'%%(name)s/QtCore.%s' % SHLIB_EXT,
|
||||
'%%(name)s/QtWebEngine.%s' % SHLIB_EXT,
|
||||
)],
|
||||
'dirs': ['include', 'plugins', 'share/sip/PyQt5']
|
||||
}
|
||||
|
||||
modextrapaths = {
|
||||
'PYTHONPATH': 'lib/python3.8/site-packages',
|
||||
'QT_INSTALL_DATA': 'qsci',
|
||||
'QT_PLUGIN_PATH': 'plugins',
|
||||
}
|
||||
|
||||
skipsteps = ['sanitycheck']
|
||||
|
||||
moduleclass = 'vis'
|
114
p/PyQt5/PyQt5-5.14.1-GCC-9.3.0-Python-3.8.6.eb
Normal file
114
p/PyQt5/PyQt5-5.14.1-GCC-9.3.0-Python-3.8.6.eb
Normal file
@ -0,0 +1,114 @@
|
||||
# IT4Innoations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'Bundle'
|
||||
|
||||
name = 'PyQt5'
|
||||
version = '5.14.1'
|
||||
|
||||
homepage = 'https://www.riverbankcomputing.co.uk/software/pyqt'
|
||||
description = """PyQt5 is a set of Python bindings for v5 of the Qt application framework from The Qt Company.
|
||||
This bundle includes PyQtWebEngine, a set of Python bindings for The Qt Company’s Qt WebEngine framework."""
|
||||
|
||||
toolchain = {'name': 'GCC', 'version': '9.3.0'}
|
||||
toolchainopts = {'cstd': 'c++11'}
|
||||
|
||||
dependencies = [
|
||||
('Qt5', '5.14.1'),
|
||||
('Python', '3.8.6'),
|
||||
]
|
||||
|
||||
default_easyblock = 'ConfigureMakePythonPackage'
|
||||
|
||||
local_pylibdir = '%(installdir)s/lib/python3.8/site-packages'
|
||||
|
||||
local_sip_configopts = " ".join([
|
||||
"configure.py",
|
||||
"--bindir %(installdir)s/bin",
|
||||
"--incdir %(installdir)s/include",
|
||||
"--destdir %s" % local_pylibdir,
|
||||
"--sipdir=%(installdir)s/share/sip",
|
||||
# required for PyQt5, cfr. https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html#downloading-sip
|
||||
"--sip-module PyQt5.sip",
|
||||
"--no-dist-info",
|
||||
"--no-stubs",
|
||||
])
|
||||
|
||||
local_pyqt5_configopts = " ".join([
|
||||
"configure.py",
|
||||
"--confirm-license --verbose --no-python-dbus",
|
||||
"--bindir=%(installdir)s/bin",
|
||||
"--destdir=%s" % local_pylibdir,
|
||||
"--sip=%(installdir)s/bin/sip",
|
||||
"--sip-incdir %(installdir)s/include/",
|
||||
"--sipdir=%(installdir)s/share/sip/PyQt5",
|
||||
"--designer-plugindir=%(installdir)s/plugins/designer",
|
||||
"--qml-plugindir=%(installdir)s/plugins/PyQt5",
|
||||
"--qsci-api-destdir=%(installdir)s/qsci",
|
||||
"--no-dist-info",
|
||||
"--no-stubs",
|
||||
])
|
||||
|
||||
local_pyqtweb_configopts = " ".join([
|
||||
"configure.py",
|
||||
"--verbose",
|
||||
"--destdir=%s/PyQt5" % local_pylibdir,
|
||||
"--apidir=%(installdir)s/qsci",
|
||||
"--pyqt-sipdir=%(builddir)s/PyQt5_gpl-%(version)s/sip",
|
||||
"--no-dist-info",
|
||||
"--no-stubs",
|
||||
])
|
||||
|
||||
local_setup_env = "export PATH=%(installdir)s/bin:$PATH && "
|
||||
local_setup_env += "export PYTHONPATH=%(installdir)s/lib/python3.8/site-packages:$PYTHONPATH && "
|
||||
local_sipver = '4.19.19'
|
||||
components = [
|
||||
('SIP', local_sipver, {
|
||||
'source_urls': ['https://www.riverbankcomputing.com/static/Downloads/sip/%s' % local_sipver],
|
||||
'sources': [SOURCELOWER_TAR_GZ],
|
||||
'checksums': ['5436b61a78f48c7e8078e93a6b59453ad33780f80c644e5f3af39f94be1ede44'],
|
||||
'start_dir': 'sip-%s' % local_sipver,
|
||||
'configopts': local_sip_configopts,
|
||||
'options': {'modulename': 'PyQt5.sip'},
|
||||
}),
|
||||
(name, version, {
|
||||
'source_urls': ['https://www.riverbankcomputing.com/static/Downloads/%(name)s/%(version)s/'],
|
||||
'sources': ['%(name)s_gpl-%(version)s.tar.gz'],
|
||||
'checksums': ['54b7f456341b89eeb3930e786837762ea67f235e886512496c4152ebe106d4af'],
|
||||
'start_dir': '%(name)s_gpl-%(version)s',
|
||||
'preconfigopts': local_setup_env,
|
||||
'configopts': local_pyqt5_configopts,
|
||||
'preinstallopts': local_setup_env,
|
||||
'options': {'modulename': 'PyQt5.QtCore'},
|
||||
}),
|
||||
('PyQtWebEngine', version, {
|
||||
'source_urls': ['https://www.riverbankcomputing.com/static/Downloads/%(name)s/%(version)s/'],
|
||||
'sources': ['%(name)s_gpl-%(version)s.tar.gz'],
|
||||
'checksums': ['8d8c1262005d8465653a848bf67327fb338e0d3c2d26090a6f7eb071dbb42092'],
|
||||
'start_dir': '%(name)s_gpl-%(version)s',
|
||||
'preconfigopts': local_setup_env,
|
||||
'configopts': local_pyqtweb_configopts,
|
||||
'options': {'modulename': 'PyQt5.QtWebEngine'},
|
||||
}),
|
||||
]
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['bin/sip', 'include/sip.h'] + ['lib/python3.8/site-packages/%s' % x for x in (
|
||||
'sipconfig.py',
|
||||
'sipdistutils.py',
|
||||
'%%(name)s/sip.%s' % SHLIB_EXT,
|
||||
'%%(name)s/QtCore.%s' % SHLIB_EXT,
|
||||
'%%(name)s/QtWebEngine.%s' % SHLIB_EXT,
|
||||
)],
|
||||
'dirs': ['include', 'plugins', 'share/sip/PyQt5']
|
||||
}
|
||||
|
||||
modextrapaths = {
|
||||
'PYTHONPATH': 'lib/python3.8/site-packages',
|
||||
'QT_INSTALL_DATA': 'qsci',
|
||||
'QT_PLUGIN_PATH': 'plugins',
|
||||
}
|
||||
|
||||
skipsteps = ['sanitycheck']
|
||||
|
||||
moduleclass = 'vis'
|
96
p/PyQt5/PyQt5-5.15.1-GCCcore-9.3.0-Python-3.8.2.eb
Normal file
96
p/PyQt5/PyQt5-5.15.1-GCCcore-9.3.0-Python-3.8.2.eb
Normal file
@ -0,0 +1,96 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'Bundle'
|
||||
|
||||
name = 'PyQt5'
|
||||
version = '5.15.1'
|
||||
versionsuffix = '-Python-%(pyver)s'
|
||||
|
||||
homepage = 'https://www.riverbankcomputing.com/software/pyqt'
|
||||
description = """PyQt5 is a set of Python bindings for v5 of the Qt application framework from The Qt Company.
|
||||
This bundle includes PyQtWebEngine, a set of Python bindings for The Qt Company’s Qt WebEngine framework."""
|
||||
|
||||
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
|
||||
toolchainopts = {'cstd': 'c++11'}
|
||||
|
||||
builddependencies = [('binutils', '2.34')]
|
||||
dependencies = [
|
||||
('Python', '3.8.2'),
|
||||
('Qt5', '5.14.1'),
|
||||
]
|
||||
|
||||
default_easyblock = 'PythonPackage'
|
||||
|
||||
local_pylibdir = '%(installdir)s/lib/python%(pyshortver)s/site-packages'
|
||||
|
||||
local_pyqt5_sip_install = "sip-install --verbose --target-dir " + local_pylibdir + " "
|
||||
local_pyqt5_sip_install += "--confirm-license --no-designer-plugin --no-qml-plugin --no-tools"
|
||||
|
||||
local_pyqtweb_configopts = "configure.py --verbose --destdir=%s/PyQt5 " % local_pylibdir
|
||||
local_pyqtweb_configopts += "--apidir=%(installdir)s/qsci --pyqt-sipdir=%(builddir)s/PyQt5-%(version)s/sip "
|
||||
local_pyqtweb_configopts += "--no-stubs --no-dist-info"
|
||||
|
||||
local_setup_env = "export PATH=%(installdir)s/bin:$PATH && "
|
||||
local_setup_env += "export PYTHONPATH=%(installdir)s/lib/python%(pyshortver)s/site-packages:$PYTHONPATH && "
|
||||
local_sipver = '5.4.0'
|
||||
components = [
|
||||
('SIP', local_sipver, {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCELOWER_TAR_GZ],
|
||||
'checksums': ['4282ab45948674f5ef74278a8e70d1302f65c95b519a0af19409002f5715d641'],
|
||||
'start_dir': 'sip-%s' % local_sipver,
|
||||
'use_pip': True,
|
||||
'options': {'modulename': 'PyQt5.sip'},
|
||||
}),
|
||||
('PyQt-builder', '1.5.0', {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCE_TAR_GZ],
|
||||
'checksums': ['11bbe26e8e3d5ffec6d2ef2f50596b1670eb2d8b49aee0f859821922d8282841'],
|
||||
'start_dir': 'PyQt-builder-%(version)s',
|
||||
'use_pip': True,
|
||||
}),
|
||||
('PyQt5_sip', '12.8.1', {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCE_TAR_GZ],
|
||||
'checksums': ['30e944db9abee9cc757aea16906d4198129558533eb7fadbe48c5da2bd18e0bd'],
|
||||
'start_dir': 'PyQt5_sip-%(version)s',
|
||||
'use_pip': True,
|
||||
}),
|
||||
(name, version, {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCE_TAR_GZ],
|
||||
'checksums': ['d9a76b850246d08da9863189ecb98f6c2aa9b4d97a3e85e29330a264aed0f9a1'],
|
||||
'easyblock': 'Binary',
|
||||
'start_dir': '%(name)s-%(version)s',
|
||||
'skipsteps': ['configure', 'build'],
|
||||
'install_cmd': local_setup_env + local_pyqt5_sip_install,
|
||||
}),
|
||||
('PyQtWebEngine', version, {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCE_TAR_GZ],
|
||||
'checksums': ['f0ca7915ee206ba5d703168c6ca40b0aad62c67360328fae4af5359cdbcee439'],
|
||||
'easyblock': 'ConfigureMakePythonPackage',
|
||||
'start_dir': '%(name)s-%(version)s',
|
||||
'preconfigopts': local_setup_env,
|
||||
'configopts': local_pyqtweb_configopts,
|
||||
'options': {'modulename': 'PyQt5.QtWebEngine'},
|
||||
}),
|
||||
]
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['bin/pyqt-bundle', 'bin/sip-build', 'bin/sip-install', 'bin/sip5'],
|
||||
'dirs': ['lib/python%(pyshortver)s/site-packages'],
|
||||
}
|
||||
|
||||
sanity_check_commands = [
|
||||
"python -c 'import PyQt5.QtCore'",
|
||||
"sip5 --help",
|
||||
]
|
||||
|
||||
modextrapaths = {
|
||||
'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
|
||||
'QT_INSTALL_DATA': 'qsci',
|
||||
}
|
||||
|
||||
moduleclass = 'vis'
|
95
p/PyQt5/PyQt5-5.15.1-GCCcore-9.3.0.eb
Normal file
95
p/PyQt5/PyQt5-5.15.1-GCCcore-9.3.0.eb
Normal file
@ -0,0 +1,95 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'Bundle'
|
||||
|
||||
name = 'PyQt5'
|
||||
version = '5.15.1'
|
||||
|
||||
homepage = 'https://www.riverbankcomputing.com/software/pyqt'
|
||||
description = """PyQt5 is a set of Python bindings for v5 of the Qt application framework from The Qt Company.
|
||||
This bundle includes PyQtWebEngine, a set of Python bindings for The Qt Company’s Qt WebEngine framework."""
|
||||
|
||||
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
|
||||
toolchainopts = {'cstd': 'c++11'}
|
||||
|
||||
builddependencies = [('binutils', '2.34')]
|
||||
dependencies = [
|
||||
('Python', '3.8.6'),
|
||||
('Qt5', '5.14.1'),
|
||||
]
|
||||
|
||||
default_easyblock = 'PythonPackage'
|
||||
|
||||
local_pylibdir = '%(installdir)s/lib/python%(pyshortver)s/site-packages'
|
||||
|
||||
local_pyqt5_sip_install = "sip-install --verbose --target-dir " + local_pylibdir + " "
|
||||
local_pyqt5_sip_install += "--confirm-license --no-designer-plugin --no-qml-plugin --no-tools"
|
||||
|
||||
local_pyqtweb_configopts = "configure.py --verbose --destdir=%s/PyQt5 " % local_pylibdir
|
||||
local_pyqtweb_configopts += "--apidir=%(installdir)s/qsci --pyqt-sipdir=%(builddir)s/PyQt5-%(version)s/sip "
|
||||
local_pyqtweb_configopts += "--no-stubs --no-dist-info"
|
||||
|
||||
local_setup_env = "export PATH=%(installdir)s/bin:$PATH && "
|
||||
local_setup_env += "export PYTHONPATH=%(installdir)s/lib/python%(pyshortver)s/site-packages:$PYTHONPATH && "
|
||||
local_sipver = '5.4.0'
|
||||
components = [
|
||||
('SIP', local_sipver, {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCELOWER_TAR_GZ],
|
||||
'checksums': ['4282ab45948674f5ef74278a8e70d1302f65c95b519a0af19409002f5715d641'],
|
||||
'start_dir': 'sip-%s' % local_sipver,
|
||||
'use_pip': True,
|
||||
'options': {'modulename': 'PyQt5.sip'},
|
||||
}),
|
||||
('PyQt-builder', '1.5.0', {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCE_TAR_GZ],
|
||||
'checksums': ['11bbe26e8e3d5ffec6d2ef2f50596b1670eb2d8b49aee0f859821922d8282841'],
|
||||
'start_dir': 'PyQt-builder-%(version)s',
|
||||
'use_pip': True,
|
||||
}),
|
||||
('PyQt5_sip', '12.8.1', {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCE_TAR_GZ],
|
||||
'checksums': ['30e944db9abee9cc757aea16906d4198129558533eb7fadbe48c5da2bd18e0bd'],
|
||||
'start_dir': 'PyQt5_sip-%(version)s',
|
||||
'use_pip': True,
|
||||
}),
|
||||
(name, version, {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCE_TAR_GZ],
|
||||
'checksums': ['d9a76b850246d08da9863189ecb98f6c2aa9b4d97a3e85e29330a264aed0f9a1'],
|
||||
'easyblock': 'Binary',
|
||||
'start_dir': '%(name)s-%(version)s',
|
||||
'skipsteps': ['configure', 'build'],
|
||||
'install_cmd': local_setup_env + local_pyqt5_sip_install,
|
||||
}),
|
||||
('PyQtWebEngine', version, {
|
||||
'source_urls': [PYPI_SOURCE],
|
||||
'sources': [SOURCE_TAR_GZ],
|
||||
'checksums': ['f0ca7915ee206ba5d703168c6ca40b0aad62c67360328fae4af5359cdbcee439'],
|
||||
'easyblock': 'ConfigureMakePythonPackage',
|
||||
'start_dir': '%(name)s-%(version)s',
|
||||
'preconfigopts': local_setup_env,
|
||||
'configopts': local_pyqtweb_configopts,
|
||||
'options': {'modulename': 'PyQt5.QtWebEngine'},
|
||||
}),
|
||||
]
|
||||
|
||||
sanity_check_paths = {
|
||||
'files': ['bin/pyqt-bundle', 'bin/sip-build', 'bin/sip-install', 'bin/sip5'],
|
||||
'dirs': ['lib/python%(pyshortver)s/site-packages'],
|
||||
}
|
||||
|
||||
sanity_check_commands = [
|
||||
"python -c 'import PyQt5.QtCore'",
|
||||
"sip5 --help",
|
||||
]
|
||||
|
||||
modextrapaths = {
|
||||
'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
|
||||
'QT_INSTALL_DATA': 'qsci',
|
||||
}
|
||||
|
||||
moduleclass = 'vis'
|
37
p/pkgconfig/pkgconfig-1.5.1-GCCcore-9.3.0-Python-3.8.6.eb
Normal file
37
p/pkgconfig/pkgconfig-1.5.1-GCCcore-9.3.0-Python-3.8.6.eb
Normal file
@ -0,0 +1,37 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'PythonBundle'
|
||||
|
||||
name = 'pkgconfig'
|
||||
version = '1.5.1'
|
||||
versionsuffix = '-Python-%(pyver)s'
|
||||
|
||||
homepage = 'https://github.com/matze/pkgconfig'
|
||||
description = """pkgconfig is a Python module to interface with the pkg-config command line tool"""
|
||||
|
||||
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
|
||||
|
||||
builddependencies = [('binutils', '2.34')]
|
||||
|
||||
dependencies = [
|
||||
('Python', '3.8.6'),
|
||||
('pkg-config', '0.29.2'),
|
||||
]
|
||||
|
||||
# Due to poetry doing the actual build of pkgconfig we need use_pip=False
|
||||
use_pip = False
|
||||
|
||||
exts_list = [
|
||||
# Not updating this since it is basically a build dep
|
||||
('poetry', '0.12.17', {
|
||||
'source_urls': ['https://pypi.python.org/packages/source/p/poetry/'],
|
||||
'checksums': ['6e535de38df7e6ab46ff8d197f53632b071675287d1477efc7bf4a5c4c63bc3f'],
|
||||
}),
|
||||
(name, version, {
|
||||
'source_urls': ['https://pypi.python.org/packages/source/p/pkgconfig/'],
|
||||
'checksums': ['97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f'],
|
||||
}),
|
||||
]
|
||||
|
||||
moduleclass = 'devel'
|
31
p/pybind11/pybind11-2.4.3-GCCcore-9.3.0-Python-3.8.6.eb
Normal file
31
p/pybind11/pybind11-2.4.3-GCCcore-9.3.0-Python-3.8.6.eb
Normal file
@ -0,0 +1,31 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
name = 'pybind11'
|
||||
version = '2.4.3'
|
||||
versionsuffix = '-Python-%(pyver)s'
|
||||
|
||||
homepage = 'https://pybind11.readthedocs.io'
|
||||
description = """pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa,
|
||||
mainly to create Python bindings of existing C++ code."""
|
||||
|
||||
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
|
||||
|
||||
source_urls = ['https://github.com/pybind/pybind11/archive/']
|
||||
sources = ['v%(version)s.tar.gz']
|
||||
patches = ['%(name)s-%(version)s-fix-get-include.patch']
|
||||
checksums = [
|
||||
'1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d', # v2.4.3.tar.gz
|
||||
'b03550f05dcff97eeb3d7f4cd393b0584341ac7a310c89ee120f95e54fdc3125', # pybind11-2.4.3-fix-get-include.patch
|
||||
]
|
||||
|
||||
builddependencies = [
|
||||
('binutils', '2.34'),
|
||||
('CMake', '3.16.4'),
|
||||
('Eigen', '3.3.7'),
|
||||
]
|
||||
dependencies = [('Python', '3.8.6')]
|
||||
|
||||
configopts = "-DPYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python"
|
||||
|
||||
moduleclass = 'lib'
|
@ -0,0 +1,58 @@
|
||||
# IT4Innovations 2021
|
||||
# LK
|
||||
|
||||
easyblock = 'PythonBundle'
|
||||
|
||||
name = 'SciPy-bundle'
|
||||
version = '2020.03'
|
||||
versionsuffix = '-Python-3.8.6'
|
||||
|
||||
homepage = 'https://python.org/'
|
||||
description = "Bundle of Python packages for scientific software"
|
||||
|
||||
toolchain = {'name': 'intel', 'version': '2020a'}
|
||||
toolchainopts = {'pic': True, 'lowopt': True}
|
||||
|
||||
dependencies = [
|
||||
('Python', '3.8.6'),
|
||||
('pybind11', '2.4.3', versionsuffix), # required by scipy
|
||||
]
|
||||
|
||||
use_pip = True
|
||||
|
||||
exts_default_options = {'source_urls': [PYPI_SOURCE]}
|
||||
|
||||
# order is important!
|
||||
exts_list = [
|
||||
('numpy', '1.18.3', {
|
||||
'patches': ['numpy-1.18.2-mkl.patch'],
|
||||
'source_tmpl': '%(name)s-%(version)s.zip',
|
||||
'checksums': [
|
||||
'e46e2384209c91996d5ec16744234d1c906ab79a701ce1a26155c9ec890b8dc8', # numpy-1.18.2.zip
|
||||
'ea25ad5c0148c1398d282f0424e642fb9815a1a80f4512659b018e2adc378bcf', # numpy-1.18.2-mkl.patch
|
||||
],
|
||||
}),
|
||||
('scipy', '1.4.1', {
|
||||
'patches': ['scipy-1.4.1-fix-pthread.patch'],
|
||||
'checksums': [
|
||||
'dee1bbf3a6c8f73b6b218cb28eed8dd13347ea2f87d572ce19b289d6fd3fbc59', # scipy-1.4.1.tar.gz
|
||||
'4e2162a93caddce63a1aa2dfb6c181774a4f6615950e1d60c54bb4308fee3bb3', # scipy-1.4.1-fix-pthread.patch
|
||||
],
|
||||
}),
|
||||
('mpi4py', '3.0.3', {
|
||||
'checksums': ['012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f'],
|
||||
}),
|
||||
('pandas', '1.0.3', {
|
||||
'checksums': ['32f42e322fb903d0e189a4c10b75ba70d90958cc4f66a1781ed027f1a1d14586'],
|
||||
}),
|
||||
('mpmath', '1.1.0', {
|
||||
'checksums': ['fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6'],
|
||||
}),
|
||||
('deap', '1.3.1', {
|
||||
'checksums': ['11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f'],
|
||||
}),
|
||||
]
|
||||
|
||||
sanity_pip_check = True
|
||||
|
||||
moduleclass = 'lang'
|
Loading…
x
Reference in New Issue
Block a user