Update prod-util recipe (#43940)

* update prod-util recipe
* [@spackbot] updating style on behalf of AlexanderRichert-NOAA
This commit is contained in:
Alex Richert 2024-05-02 10:24:39 -06:00 committed by GitHub
parent a8c9fa0e45
commit 67ce103b2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,9 +14,22 @@ class ProdUtil(CMakePackage):
homepage = "https://github.com/NOAA-EMC/NCEPLIBS-prod_util" 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" 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") maintainers("AlexanderRichert-NOAA", "Hang-Lei-NOAA", "edwardhartnett")
version("1.2.2", sha256="c51b903ea5a046cb9b545b5c04fd28647c58b4ab6182e61710f0287846350ef8") 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") depends_on("w3nco", when="@1")
depends_on("w3emc", when="@2:")
def check(self):
with working_dir(self.builder.build_directory):
make("test")