summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richert <alexander.richert@noaa.gov>2024-05-02 10:24:39 -0600
committerGitHub <noreply@github.com>2024-05-02 09:24:39 -0700
commit67ce103b2cabdcad87ed646c68823913ec8d0080 (patch)
tree7abd6e165529a710eb90dfc981b4b2d64fceddac
parenta8c9fa0e45ec83ff0f127c231c7e23650883b720 (diff)
downloadspack-67ce103b2cabdcad87ed646c68823913ec8d0080.tar.gz
spack-67ce103b2cabdcad87ed646c68823913ec8d0080.tar.bz2
spack-67ce103b2cabdcad87ed646c68823913ec8d0080.tar.xz
spack-67ce103b2cabdcad87ed646c68823913ec8d0080.zip
Update prod-util recipe (#43940)
* update prod-util recipe * [@spackbot] updating style on behalf of AlexanderRichert-NOAA
-rw-r--r--var/spack/repos/builtin/packages/prod-util/package.py19
1 files changed, 16 insertions, 3 deletions
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")