summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py
blob: abc7792afb29c6d5b11a0fbe97f5316f94b7d729 (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-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 PyFenicsFfcx(PythonPackage):
    """Next generation FEniCS Form Compiler"""

    homepage = "https://github.com/FEniCS/ffcx"
    git = "https://github.com/FEniCS/ffcx.git"
    maintainers = ["js947", "chrisrichardson"]

    version("master", branch="master")

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