# IT4Innovations 2020
# LK

easyblock = 'PythonPackage'

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

homepage = 'https://bitbucket.org/fenics-project/ufl'
description = """The Unified Form Language (UFL) is a domain specific language 
 for declaration of finite element discretizations of variational forms. 
 More precisely, it defines a flexible interface for choosing finite element 
 spaces and defining expressions for weak forms in a notation close to 
 mathematical notation."""

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

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

dependencies = [
    ('Py', '3.7', '', True),
    ('numpy', '1.18.1', versionsuffix, True),
]

download_dep_fail = True
use_pip = True

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

moduleclass = 'cae'
