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>
This commit is contained in:
Garth N. Wells 2023-10-16 15:53:02 +01:00 committed by GitHub
parent 8347ae3766
commit 363b9d3c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View File

@ -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")

View File

@ -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")