summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-04-22 14:30:58 +0200
committerGitHub <noreply@github.com>2022-04-22 14:30:58 +0200
commit010068c50a2fbfda269dab2c2b41beaaf210b222 (patch)
tree4ae6520cfddb485f4e3abb378d73395174543f39
parenta7ebdd2d10e0eb706e63e8994e3020feac6b0d38 (diff)
downloadspack-010068c50a2fbfda269dab2c2b41beaaf210b222.tar.gz
spack-010068c50a2fbfda269dab2c2b41beaaf210b222.tar.bz2
spack-010068c50a2fbfda269dab2c2b41beaaf210b222.tar.xz
spack-010068c50a2fbfda269dab2c2b41beaaf210b222.zip
netcdf-fortran: add v4.5.4 (#30242)
-rw-r--r--var/spack/repos/builtin/packages/netcdf-fortran/package.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/netcdf-fortran/package.py b/var/spack/repos/builtin/packages/netcdf-fortran/package.py
index c79c8af46a..0f5c291631 100644
--- a/var/spack/repos/builtin/packages/netcdf-fortran/package.py
+++ b/var/spack/repos/builtin/packages/netcdf-fortran/package.py
@@ -17,10 +17,11 @@ class NetcdfFortran(AutotoolsPackage):
distribution."""
homepage = "https://www.unidata.ucar.edu/software/netcdf"
- url = "ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-fortran-4.5.3.tar.gz"
+ url = "https://downloads.unidata.ucar.edu/netcdf-fortran/4.5.4/netcdf-fortran-4.5.4.tar.gz"
maintainers = ['skosukhin', 'WardF']
+ version('4.5.4', sha256='0a19b26a2b6e29fab5d29d7d7e08c24e87712d09a5cafeea90e16e0a2ab86b81')
version('4.5.3', sha256='123a5c6184336891e62cf2936b9f2d1c54e8dee299cfd9d2c1a1eb05dd668a74')
version('4.5.2', sha256='b959937d7d9045184e9d2040a915d94a7f4d0185f4a9dceb8f08c94b0c3304aa')
version('4.4.5', sha256='2467536ce29daea348c736476aa8e684c075d2f6cab12f3361885cb6905717b8')
@@ -124,10 +125,7 @@ class NetcdfFortran(AutotoolsPackage):
config_args.append('FC=%s' % self.spec['mpi'].mpifc)
config_args.append('F77=%s' % self.spec['mpi'].mpif77)
- if '+doc' in self.spec:
- config_args.append('--enable-doxygen')
- else:
- config_args.append('--disable-doxygen')
+ config_args += self.enable_or_disable('doxygen', variant='doc')
return config_args