mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-15 19:28:06 +01:00
42 lines
1.1 KiB
Plaintext
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'
|