
* add py-ufl package from fenics * add py-fiat package from fenics * add py-ffcx package from fenics * add py-dijitso package from fenics * add dolfinx library from fenics * amend ffcx to use ufl and fiat master branches * setup variants complex and int64 of dolfinx * add dolfinx python library as package * add test dependencies to py-dolfinx * remove broken doc variant * remove test dependencies from py-dolfinx * flake8 fixes to dolfinx and py-dolfinx * make sure dolfinx cmake picks up the correct python version * list build phases in py-dolfinx package * remove unnecessary package url * make pkgconf a build dependency * make all python dependencies build+run * py-ffcx needs py-setuptools to be a build/run dependency to support ffcx executable * remove unnecessary variants from dolfinx * add missing dependencies to py-dijitso * remove stray line from py-dolfinx * simplify definition of build_directory in py-dolfinx Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * use depends_on("python") rather than extends("python") in py-ffcx Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * use depends_on("python") rather than extends("python") in py-fiat Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * use depends_on("python") rather than extends("python") in py-ufl Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * rename py-fiat to py-fenics-fiat * rename py-ufl to py-fenics-ufl * fix error in depends_on(petsc) definition * add missing dep on numpy to py-fenics-fiat * specify python@3.8: as requirement for all fenics components * use tuples rather than list for depends_on type= * specify eigen@3.3.7: as dependency for dolfinx * add js947 and chrisrichardson as maintainers for the fenics packages * remove scipy dependency from py-dolfinx * rename package py-ffcx -> py-fenics-ffcx * rename package dolfinx -> fenics-dolfinx * rename package py-dolfinx -> py-fenics-dolfinx * remove pointless URL from py-fenics-dolfinx package * rename package py-dijitso -> py-fenics-dijitso * formatting * remove unecessary cmake args from fenics-dolfinx * revert py-fenics-fiat python version to 3: Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * revert py-fenics-ufl python version to 3.5: Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * add conflict to fenics-dolfinx for C++17 support * revert py-fenics-ffcx python version to 3.5: Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
35 lines
1.7 KiB
Python
35 lines
1.7 KiB
Python
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
#
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
from spack import *
|
|
|
|
|
|
class PyFenicsFiat(PythonPackage):
|
|
"""The FInite element Automatic Tabulator FIAT supports generation of
|
|
arbitrary order instances of the Lagrange elements on lines, triangles, and
|
|
tetrahedra. It is also capable of generating arbitrary order instances of
|
|
Jacobi-type quadrature rules on the same element shapes. Further, H(div)
|
|
and H(curl) conforming finite element spaces such as the families of
|
|
Raviart-Thomas, Brezzi-Douglas-Marini and Nedelec are supported on
|
|
triangles and tetrahedra. Upcoming versions will also support Hermite and
|
|
nonconforming elements"""
|
|
|
|
homepage = "https://fenicsproject.org/"
|
|
url = "https://github.com/FEniCS/fiat/archive/2019.1.0.tar.gz"
|
|
git = "https://github.com/FEniCS/fiat.git"
|
|
maintainers = ["js947", "chrisrichardson"]
|
|
|
|
version("master", branch="master")
|
|
version('2019.1.0', sha256='2a6d175a825ed725843918ef28846edbcf710a879c2fe8caaeda77b1ce9b9a1c')
|
|
version('2018.1.0', sha256='7468709c7aacf7dfb22c09fb5250448eb24084b9dd088ec2632a96d56c0f3830')
|
|
version('2017.2.0', sha256='e4d3ffc86a0a717b3f17b9bb2d922214c342be27e5bdfbe50f110030bfff9729')
|
|
version('2017.1.0.post1', sha256='1784fe1cb9479ca7cd85f63b0afa6e07634feec8d8e82fa8be4c480649cb9621')
|
|
version('2017.1.0', sha256='d4288401ad16c4598720f9db0810a522f7f0eadad35d8211bac7120bce5fde94')
|
|
|
|
depends_on('python@3:', type=('build', 'run'))
|
|
depends_on('py-setuptools', type="build")
|
|
depends_on('py-numpy', type=("build", "run"))
|
|
depends_on('py-sympy', type=("build", "run"))
|