# IT4Innovations 2020
# LK

easyblock = 'PythonPackage'

name = 'FFC'
version = '2019.1.0'
versionsuffix = '-Py-3.7'

homepage = 'https://bitbucket.org/fenics-project/ffc'
description = "The FEniCS Form Compiler (FFC) is a compiler for finite element variational forms."

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

source_urls = ['https://bitbucket.org/fenics-project/ffc/downloads/']
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
    ('Py', '3.7', '', True),
    ('UFL', version, versionsuffix),
    ('FIAT', version, versionsuffix),
]

download_dep_fail = True
use_pip = True

sanity_check_paths = {
    'files': ['bin/ffc'],
    'dirs': ['lib/python3.7/site-packages'],
}

moduleclass = 'math'
