From 67ce103b2cabdcad87ed646c68823913ec8d0080 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Thu, 2 May 2024 10:24:39 -0600 Subject: Update prod-util recipe (#43940) * update prod-util recipe * [@spackbot] updating style on behalf of AlexanderRichert-NOAA --- var/spack/repos/builtin/packages/prod-util/package.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/prod-util/package.py b/var/spack/repos/builtin/packages/prod-util/package.py index aa2ee1d528..57c1be1cb1 100644 --- a/var/spack/repos/builtin/packages/prod-util/package.py +++ b/var/spack/repos/builtin/packages/prod-util/package.py @@ -14,9 +14,22 @@ class ProdUtil(CMakePackage): homepage = "https://github.com/NOAA-EMC/NCEPLIBS-prod_util" url = "https://github.com/NOAA-EMC/NCEPLIBS-prod_util/archive/refs/tags/v1.2.2.tar.gz" + git = "https://github.com/NOAA-EMC/NCEPLIBS-prod_util" maintainers("AlexanderRichert-NOAA", "Hang-Lei-NOAA", "edwardhartnett") - version("1.2.2", sha256="c51b903ea5a046cb9b545b5c04fd28647c58b4ab6182e61710f0287846350ef8") - - depends_on("w3nco") + version("develop", branch="develop") + version("2.1.1", sha256="2f7507fa378a44f42b971f60de8152387c311bfa9c5c05a274c87b43a143aacd") + version("2.1.0", sha256="fa7df4a82dae269ffb347b9007376fb0d9979c17c4974814ea82204b12d70ea5") + version( + "1.2.2", + sha256="c51b903ea5a046cb9b545b5c04fd28647c58b4ab6182e61710f0287846350ef8", + deprecated=True, + ) + + depends_on("w3nco", when="@1") + depends_on("w3emc", when="@2:") + + def check(self): + with working_dir(self.builder.build_directory): + make("test") -- cgit v1.2.3-70-g09d2