easyblock = 'CMakeMake'

name = 'getdp'
version = '2.5.0'
versionsuffix = '-Python-2.7.9'

homepage = 'http://geuz.org/getdp'
description = """GetDP is an open source finite element solver using mixed elements to discretize de Rham-type
 complexes in one, two and three dimensions."""

toolchain = {'name': 'intel', 'version': '2015a'}

source_urls = ['http://geuz.org/getdp/src/']
sources = ['%(name)s-%(version)s-source.tgz']

builddependencies = [('CMake', '3.2.2')]

dependencies = [
    ('GSL', '1.16'),
    ('PETSc', '3.5.3', versionsuffix),
    ('SLEPc', '3.5.3', versionsuffix),
]

separate_build_dir = True

sanity_check_paths = {
    'files': ['bin/getdp'],
    'dirs': ['share'],
}

moduleclass = 'math'
