easyconfigs-it4i/u/UFL/UFL-1.0.0-ictce-5.3.0-Python-2.7.3.eb
easybuild 40b461ca6f fix
2019-11-06 13:38:09 +01:00

42 lines
1.1 KiB
Plaintext

easyblock = "PythonPackage"
name = 'UFL'
version = '1.0.0'
homepage = 'https://launchpad.net/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': 'ictce', 'version': '5.3.0'}
majorversion = "%s.x" % ".".join(version.split('.')[:-1])
source_urls = [
'https://launchpad.net/UFL/%s/%s/+download/' %
(majorversion, version)]
sources = [SOURCELOWER_TAR_GZ]
python = "Python"
pythonversion = '2.7.3'
pythonshortversion = ".".join(pythonversion.split(".")[:-1])
versionsuffix = "-%s-%s" % (python, pythonversion)
dependencies = [(python, pythonversion)]
sanity_check_paths = {
'files': [
'bin/%s' %
x for x in [
"form2ufl",
"ufl2py",
"ufl-analyse",
"ufl-convert",
"ufl-version"]],
'dirs': [
'lib/python%s/site-packages/ufl' %
pythonshortversion]}
moduleclass = 'cae'