summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hartnett <38856240+edwardhartnett@users.noreply.github.com>2021-09-24 11:41:15 -0600
committerGitHub <noreply@github.com>2021-09-24 11:41:15 -0600
commit1a0e1597c813db0dfae77d58c25eaf35c4cb4b68 (patch)
tree3d333988f40c3a134e0d24ad42c1935b7500a86f
parent9a17dc0001ff76d098429256b612d6f466c5242b (diff)
downloadspack-1a0e1597c813db0dfae77d58c25eaf35c4cb4b68.tar.gz
spack-1a0e1597c813db0dfae77d58c25eaf35c4cb4b68.tar.bz2
spack-1a0e1597c813db0dfae77d58c25eaf35c4cb4b68.tar.xz
spack-1a0e1597c813db0dfae77d58c25eaf35c4cb4b68.zip
nemsio: Add v2.5.3, which includes dependency change, and maintainers (#26188)
-rw-r--r--var/spack/repos/builtin/packages/nemsio/package.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/nemsio/package.py b/var/spack/repos/builtin/packages/nemsio/package.py
index d31ffc85ae..ca86f37233 100644
--- a/var/spack/repos/builtin/packages/nemsio/package.py
+++ b/var/spack/repos/builtin/packages/nemsio/package.py
@@ -9,18 +9,26 @@ from spack import *
class Nemsio(CMakePackage):
"""The NOAA Environmental Modeling System I/O (NEMSIO) library. The
basic functions it provides are to read and write data sets for all the
- NEMS applications."""
+ NEMS applications.
+
+ This is part of NOAA's NCEPLIBS project."""
homepage = "https://noaa-emc.github.io/NCEPLIBS-nemsio"
url = "https://github.com/NOAA-EMC/NCEPLIBS-nemsio/archive/refs/tags/v2.5.2.tar.gz"
- maintainers = ['t-brown']
+ maintainers = ['t-brown', 'edwardhartnett', 'kgerheiser', 'Hang-Lei-NOAA']
+ version('2.5.3', sha256='3fe8a781fc96197803d369cafe0138f3a5cbbca9816a7f8fd57567a1719a4d49')
version('2.5.2', sha256='c59e9379969690de8d030cbf4bbbbe3726faf13c304f3b88b0f6aec1496d2c08')
depends_on('bacio')
depends_on('mpi')
- depends_on('w3nco')
+
+ # nemsio 2.5.2 and earlier depend on w3nco.
+ depends_on('w3nco', when='@:2.5.2')
+
+ # nemsio 2.5.3 and later depend on w3emc-2.9.0 or later.
+ depends_on('w3emc@2.9.0:', when='@2.5.3:')
def cmake_args(self):
return ['-DMPI_Fortran_COMPILER=%s' % self.spec['mpi'].mpifc]