summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGarth N. Wells <gnw20@cam.ac.uk>2023-10-16 15:53:02 +0100
committerGitHub <noreply@github.com>2023-10-16 08:53:02 -0600
commit363b9d3c7b7f8d76e82edc9f7888d75f68850aa9 (patch)
treed0f396854069360fd0c915724ff3a7f4226b062b /var
parent8347ae3766ea1ad18eccd78a9860d91097c82802 (diff)
downloadspack-363b9d3c7b7f8d76e82edc9f7888d75f68850aa9.tar.gz
spack-363b9d3c7b7f8d76e82edc9f7888d75f68850aa9.tar.bz2
spack-363b9d3c7b7f8d76e82edc9f7888d75f68850aa9.tar.xz
spack-363b9d3c7b7f8d76e82edc9f7888d75f68850aa9.zip
fenics-basix: update for v0.7 (#40440)
* Uodate for Basix 0.7 * Version fix for nanobind dependency * Simplification * Version update and simplify dependencies * Add comment on location of pyproject.toml * Update var/spack/repos/builtin/packages/py-fenics-basix/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/fenics-basix/package.py1
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-basix/package.py14
2 files changed, 10 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/fenics-basix/package.py b/var/spack/repos/builtin/packages/fenics-basix/package.py
index e4a3833bc0..0de31ae59f 100644
--- a/var/spack/repos/builtin/packages/fenics-basix/package.py
+++ b/var/spack/repos/builtin/packages/fenics-basix/package.py
@@ -15,6 +15,7 @@ class FenicsBasix(CMakePackage):
maintainers("mscroggs", "chrisrichardson", "garth-wells", "jhale")
version("main", branch="main")
+ version("0.7.0", sha256="9bee81b396ee452eec8d9735f278cb44cb6994c6bc30aec8ed9bb4b12d83fa7f")
version("0.6.0", sha256="687ae53153c98facac4080dcdc7081701db1dcea8c5e7ae3feb72aec17f83304")
version("0.5.1", sha256="69133476ac35f0bd0deccb480676030378c341d7dfb2adaca22cd16b7e1dc1cb")
version("0.4.2", sha256="a54f5e442b7cbf3dbb6319c682f9161272557bd7f42e2b8b8ccef88bc1b7a22f")
diff --git a/var/spack/repos/builtin/packages/py-fenics-basix/package.py b/var/spack/repos/builtin/packages/py-fenics-basix/package.py
index 9e6d5b44b7..6d3ffa6cae 100644
--- a/var/spack/repos/builtin/packages/py-fenics-basix/package.py
+++ b/var/spack/repos/builtin/packages/py-fenics-basix/package.py
@@ -15,22 +15,26 @@ class PyFenicsBasix(PythonPackage):
maintainers("chrisrichardson", "mscroggs", "garth-wells", "jhale")
version("main", branch="main")
+ version("0.7.0", sha256="9bee81b396ee452eec8d9735f278cb44cb6994c6bc30aec8ed9bb4b12d83fa7f")
version("0.6.0", sha256="687ae53153c98facac4080dcdc7081701db1dcea8c5e7ae3feb72aec17f83304")
version("0.5.1", sha256="69133476ac35f0bd0deccb480676030378c341d7dfb2adaca22cd16b7e1dc1cb")
version("0.4.2", sha256="a54f5e442b7cbf3dbb6319c682f9161272557bd7f42e2b8b8ccef88bc1b7a22f")
depends_on("fenics-basix@main", type=("build", "run"), when="@main")
+ depends_on("fenics-basix@0.7.0", type=("build", "run"), when="@0.7.0")
depends_on("fenics-basix@0.6.0", type=("build", "run"), when="@0.6.0")
depends_on("fenics-basix@0.5.1", type=("build", "run"), when="@0.5.1")
depends_on("fenics-basix@0.4.2", type=("build", "run"), when="@0.4.2")
+ # See python/CMakeLists.txt
+ depends_on("cmake@3.16:", type="build")
+
+ # See python/pyproject.toml
+ depends_on("python@3.8:", when="@0.7.0:", type=("build", "run"))
depends_on("py-setuptools@42:", type="build")
- depends_on("py-setuptools@40:", type="build")
depends_on("py-numpy@1.21:", type=("build", "run"))
- depends_on("cmake@3.19:", type="build")
- depends_on("python@3.7:", type=("build", "run"))
- depends_on("py-pybind11@2.9.1:", type="build")
- depends_on("py-pybind11@2.2.4:", type="build")
+ depends_on("py-pybind11@2.9.1:", when="@:0.7", type="build")
+ depends_on("py-nanobind@1.5.1:", when="@0.8:", type="build")
depends_on("xtensor@0.23.10:", type="build", when="@:0.4")