summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py
blob: 53959c12789f00b3845a0923b4073127133caf38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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"
    git = "https://github.com/FEniCS/ffcx.git"
    maintainers = ["js947", "chrisrichardson"]

    version("main", branch="main")

    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@master", type=("build", "run"))
    depends_on("py-fenics-basix@main", type=("build", "run"))
    depends_on("py-numpy", type=("build", "run"))