1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 2013-2021 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 PyFenicsFfcx(PythonPackage):
"""Next generation FEniCS Form Compiler"""
homepage = "https://github.com/FEniCS/ffcx"
url = "https://github.com/FEniCS/ffcx/archive/0.1.0.tar.gz"
git = "https://github.com/FEniCS/ffcx.git"
maintainers = ["js947", "chrisrichardson"]
version('main', branch='main')
version('0.1.0', sha256='98a47906146ac892fb4a358e04cbfd04066f12d0a4cdb505a6b08ff0b1a17e89')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-cffi', type=('build', 'run'))
depends_on('py-fenics-ufl', type=('build', 'run'), when='@main')
depends_on('py-fenics-ufl@2021.1.0', type=('build', 'run'), when='@0.1.0')
depends_on('py-fenics-basix', type=('build', 'run'), when='@main')
depends_on('py-fenics-basix@0.1.0', type=('build', 'run'), when='@0.1.0')
depends_on('py-numpy', type=('build', 'run'))
|