Skip to content

Commit

Permalink
Update package.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlysonStahl-NOAA committed Jul 29, 2024
1 parent 9aaa686 commit be8ec01
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions spack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def url_for_version(self, version):
)
variant(
"ipolates",
default="0",
description="Use to interpolate to new grids (0 = OFF, 1 = ip, 3 = ip2)",
values=("0", "1", "3"),
default=False,
description="Use to interpolate to new grids",
when="@3.3:",
)
variant(
"spectral", default=False, description="Spectral interpolation in -new_grid", when="@:3.1"
Expand Down Expand Up @@ -151,9 +151,8 @@ def url_for_version(self, version):
conflicts("+openmp", when="%apple-clang")

depends_on("wget", type=("build"), when="@:3.1 +netcdf4")
depends_on("ip@:3", when="@3.2 ipolates=1")
depends_on("ip2", when="@3.2 ipolates=3")
depends_on("[email protected]:", when="@develop ipolates=1")
depends_on("ip@:3", when="@3.2 +ipolates")
depends_on("[email protected]:", when="@develop +ipolates")
depends_on("[email protected]:", when="@3.2: +aec")
depends_on("netcdf-c", when="@3.2: +netcdf4")
depends_on("jasper@:2", when="@3.2: +jasper")
Expand Down

0 comments on commit be8ec01

Please sign in to comment.