vtk: fix PYTHONPATH (#49773)
* Ensure PYTHONPATH is set for vtk+python * style * switch to extends
This commit is contained in:
parent
3ea92b1983
commit
5fda19194b
@ -93,13 +93,13 @@ class Vtk(CMakePackage):
|
||||
|
||||
# Based on PyPI wheel availability
|
||||
with when("+python"), default_args(type=("build", "link", "run")):
|
||||
depends_on("python@:3.13")
|
||||
depends_on("python@:3.12", when="@:9.3")
|
||||
depends_on("python@:3.11", when="@:9.2")
|
||||
depends_on("python@:3.10", when="@:9.2.2")
|
||||
depends_on("python@:3.9", when="@:9.1")
|
||||
depends_on("python@:3.8", when="@:9.0.1")
|
||||
depends_on("python@:3.7", when="@:8.2.0")
|
||||
extends("python@:3.13")
|
||||
extends("python@:3.12", when="@:9.3")
|
||||
extends("python@:3.11", when="@:9.2")
|
||||
extends("python@:3.10", when="@:9.2.2")
|
||||
extends("python@:3.9", when="@:9.1")
|
||||
extends("python@:3.8", when="@:9.0.1")
|
||||
extends("python@:3.7", when="@:8.2.0")
|
||||
|
||||
# We need mpi4py if buidling python wrappers and using MPI
|
||||
depends_on("py-mpi4py", when="+python+mpi", type="run")
|
||||
|
Loading…
Reference in New Issue
Block a user