Skip to content

Commit

Permalink
py-fenics-ffcx: update to v0.8 (spack#43929)
Browse files Browse the repository at this point in the history
* Update FFCx and UFCx to v0.8
* Syntax fix
  • Loading branch information
garth-wells authored May 2, 2024
1 parent 960cc90 commit a7a51ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions var/spack/repos/builtin/packages/fenics-ufcx/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class FenicsUfcx(CMakePackage):
license("LGPL-3.0-or-later")

version("main", branch="main")
version("0.8.0", sha256="8a854782dbd119ec1c23c4522a2134d5281e7f1bd2f37d64489f75da055282e3")
version("0.7.0", sha256="7f3c3ca91d63ce7831d37799cc19d0551bdcd275bdfa4c099711679533dd1c71")
version("0.6.0", sha256="076fad61d406afffd41019ae1abf6da3f76406c035c772abad2156127667980e")
version(
Expand Down
7 changes: 5 additions & 2 deletions var/spack/repos/builtin/packages/py-fenics-ffcx/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class PyFenicsFfcx(PythonPackage):
license("LGPL-3.0-or-later")

version("main", branch="main")
version("0.8.0", sha256="8a854782dbd119ec1c23c4522a2134d5281e7f1bd2f37d64489f75da055282e3")
version("0.7.0", sha256="7f3c3ca91d63ce7831d37799cc19d0551bdcd275bdfa4c099711679533dd1c71")
version("0.6.0", sha256="076fad61d406afffd41019ae1abf6da3f76406c035c772abad2156127667980e")
version(
Expand All @@ -30,7 +31,8 @@ class PyFenicsFfcx(PythonPackage):
deprecated=True,
)

depends_on("[email protected]:", when="@0.7:", type=("build", "run"))
depends_on("[email protected]:", when="@0.8:", type=("build", "run"))
depends_on("[email protected]:", when="@:0.7", type=("build", "run"))
depends_on("py-setuptools@62:", when="@0.7:", type="build")
# Runtime dependency on pkg_resources from setuptools at 0.6.0
depends_on("py-setuptools@58:", when="@0.4.2:0.6", type=("build", "run"))
Expand All @@ -42,13 +44,14 @@ class PyFenicsFfcx(PythonPackage):
depends_on("[email protected]:", type=("build", "run"))

depends_on("py-fenics-ufl@main", type=("build", "run"), when="@main")
depends_on("py-fenics-ufl@2023.3.0:", type=("build", "run"), when="@0.8")
depends_on("py-fenics-ufl@2024.1.0:", type=("build", "run"), when="@0.8")
depends_on("[email protected]", type=("build", "run"), when="@0.7")
depends_on("[email protected]", type=("build", "run"), when="@0.6")
depends_on("[email protected]", type=("build", "run"), when="@0.5.0:0.5")
depends_on("[email protected]", type=("build", "run"), when="@0.4.2")

depends_on("py-fenics-basix@main", type=("build", "run"), when="@main")
depends_on("[email protected]", type=("build", "run"), when="@0.8")
depends_on("[email protected]", type=("build", "run"), when="@0.7")
depends_on("[email protected]:0.6", type=("build", "run"), when="@0.6.0:0.6")
depends_on("[email protected]:0.5", type=("build", "run"), when="@0.5.0:0.5")
Expand Down

0 comments on commit a7a51ee

Please sign in to comment.