
* Updates to release 0.6. * Dep updates * Dep version fix * Another version fix * Fix typo * UFL version fix * Update var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-fenics-ffcx/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Some updates following review * Update var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * More updates * More updates * build/run updates * Small fix * Fix version number. * specify lower bounds for python dependencies * address style issues * address style issues * address PR comments * amend setuptools dependency to be of type build only * amend setuptools dependency to be of type run and build for ffcx and ufl * add build dependency to ensure import tests pass --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Matthew Archer <ma595@cam.ac.uk>
59 lines
2.5 KiB
Python
59 lines
2.5 KiB
Python
# Copyright 2013-2023 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.package import *
|
|
|
|
|
|
class PyFenicsFfcx(PythonPackage):
|
|
"""Next generation FEniCS Form Compiler"""
|
|
|
|
homepage = "https://github.com/FEniCS/ffcx"
|
|
url = "https://github.com/FEniCS/ffcx/archive/v0.1.0.tar.gz"
|
|
git = "https://github.com/FEniCS/ffcx.git"
|
|
maintainers("chrisrichardson", "garth-wells", "jhale")
|
|
|
|
version("main", branch="main")
|
|
version("0.6.0", sha256="076fad61d406afffd41019ae1abf6da3f76406c035c772abad2156127667980e")
|
|
version(
|
|
"0.5.0.post0", sha256="039908c9998b51ba53e5deb3a97016062c262f0a4285218644304f7d3cd35882"
|
|
)
|
|
version("0.4.2", sha256="3be6eef064d6ef907245db5b6cc15d4e603762e68b76e53e099935ca91ef1ee4")
|
|
version(
|
|
"0.3.0",
|
|
sha256="33fa1a0cc5762f360033c25a99ec9462be933f8ba413279e35cd2c3b5c3e6096",
|
|
deprecated=True,
|
|
)
|
|
version(
|
|
"0.2.0",
|
|
sha256="f1dcd0973980706aba145274aeddeb771d2d730efcdb9b4be10adbe964f40d90",
|
|
deprecated=True,
|
|
)
|
|
version(
|
|
"0.1.0",
|
|
sha256="98a47906146ac892fb4a358e04cbfd04066f12d0a4cdb505a6b08ff0b1a17e89",
|
|
deprecated=True,
|
|
)
|
|
|
|
depends_on("python@3.7:", type=("build", "run"))
|
|
depends_on("py-setuptools@58:", type=("build", "run"), when="@0.4:")
|
|
depends_on("py-setuptools@40:", type=("build", "run"))
|
|
|
|
depends_on("py-cffi", type=("build", "run"))
|
|
depends_on("py-numpy@1.21:", type=("build", "run"))
|
|
|
|
depends_on("py-fenics-ufl@main", type=("build", "run"), when="@main")
|
|
depends_on("py-fenics-ufl@2023.1", type=("build", "run"), when="@0.6")
|
|
depends_on("py-fenics-ufl@2022.2.0", type=("build", "run"), when="@0.5.0:0.5")
|
|
depends_on("py-fenics-ufl@2022.1.0", type=("build", "run"), when="@0.4.2")
|
|
depends_on("py-fenics-ufl@2021.1.0", type=("build", "run"), when="@0.1.0:0.3")
|
|
|
|
depends_on("py-fenics-basix@main", type=("build", "run"), when="@main")
|
|
depends_on("py-fenics-basix@0.6.0:0.6", type=("build", "run"), when="@0.6.0:0.6")
|
|
depends_on("py-fenics-basix@0.5.1:0.5", type=("build", "run"), when="@0.5.0:0.5")
|
|
depends_on("py-fenics-basix@0.4.2", type=("build", "run"), when="@0.4.2")
|
|
depends_on("py-fenics-basix@0.3.0", type=("build", "run"), when="@0.3.0")
|
|
depends_on("py-fenics-basix@0.2.0", type=("build", "run"), when="@0.2.0")
|
|
depends_on("py-fenics-basix@0.1.0", type=("build", "run"), when="@0.1.0")
|