Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MET v12.0.0 and METplus v6.0.0 #509

Merged
merged 7 commits into from
Feb 20, 2025
3 changes: 3 additions & 0 deletions var/spack/repos/builtin/packages/met/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class Met(AutotoolsPackage):
maintainers("AlexanderRichert-NOAA", "climbfuji")

version("develop", branch="develop")
version("12.0.1", sha256="ef396a99ca6c2248855848cd194f9ceaf3b051fb5e8c01a0b0b2a00110b1fcfb")
version("12.0.0", sha256="9a54275cfefbad6010d4449a8fa756ad40fae03fa62a766cbbfda170c422e5e4")
version("11.1.1", sha256="d02f9281d46bc45c931ca233a51ce20ba2158c0dd26acac2cb76c5a68788022a")
version("11.1.0", sha256="e2e371ae1f49185ff8bf08201b1a3e90864a467aa3369b04132d231213c3c9e5")
version("11.0.2", sha256="f720d15e1d6c235c9a41fd97dbeb0eb1082fb8ae99e1bcdcb5e51be9b50bdfbf")
Expand All @@ -43,6 +45,7 @@ class Met(AutotoolsPackage):

depends_on("gsl")
depends_on("bufr")
depends_on("proj", when="@12")
depends_on("zlib-api")
depends_on("netcdf-c")
depends_on("netcdf-cxx4")
Expand Down
9 changes: 9 additions & 0 deletions var/spack/repos/builtin/packages/metplus/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class Metplus(Package):
maintainers("AlexanderRichert-NOAA", "climbfuji")

version("develop", branch="develop")
version("6.0.0", sha256="e9358aede2fd2abecd81806227de7b165d68fdf2fc9defcbba24df229461b155")
version("5.1.0", sha256="e80df2d1059176a453b7991a9f123cb5a187cc7ba7f48a75313b92c7a0e68474")
version("5.0.1", sha256="0e22b4f6791496551d99f68247d382b2af02c90b34c172a64c6f060e774bdced")
version("5.0.0", sha256="59d519bd062559b4cece9f8672e2e282b200057bc77e2e0937414003d8f2dd50")
Expand All @@ -34,10 +35,18 @@ class Metplus(Package):
variant("makeplots", default=False, description="Enable MakePlots Wrapper.")
variant("plotdataplane", default=False, description="Generate images from Postscript output.")

depends_on("[email protected]:", when="@6.0.0", type=("run"))
depends_on("met@12:+python", when="@6.0.0", type=("run"))
depends_on("met+python", type=("run"))
# https://metplus.readthedocs.io/en/main_v6.0/Users_Guide/installation.html
depends_on("[email protected]:", when="@6.0.0")
depends_on("netcdf-c")
depends_on("[email protected]:", when="@6.0.0", type=("run"))
depends_on("py-python-dateutil", type=("run"))

depends_on("[email protected]:", when="@6.0.0 +makeplots", type=("run"))
depends_on("py-cartopy", when="+makeplots", type=("run"))
depends_on("[email protected]", when="@6.0.0 +cycloneplotter", type=("run"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not '@6:' for all of these, since I'm assuming it won't just be for the one release?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, let me change that

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

depends_on("py-matplotlib", when="+cycloneplotter", type=("run"))
depends_on("py-cartopy", when="+cycloneplotter", type=("run"))

Expand Down
Loading