netcdf-fortran: add version 4.6.1 and fix the checks (#39043)

* netcdf-fortran: add version 4.6.1
* netcdf-fortran: fix the 'check' method
This commit is contained in:
Sergey Kosukhin 2023-07-25 00:54:18 +02:00 committed by GitHub
parent e3b2e5b2cd
commit 3f4012cf44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ class NetcdfFortran(AutotoolsPackage):
maintainers("skosukhin", "WardF")
version("4.6.1", sha256="b50b0c72b8b16b140201a020936aa8aeda5c79cf265c55160986cd637807a37a")
version("4.6.0", sha256="198bff6534cc85a121adc9e12f1c4bc53406c403bda331775a1291509e7b2f23")
version("4.5.4", sha256="0a19b26a2b6e29fab5d29d7d7e08c24e87712d09a5cafeea90e16e0a2ab86b81")
version("4.5.3", sha256="123a5c6184336891e62cf2936b9f2d1c54e8dee299cfd9d2c1a1eb05dd668a74")
@ -128,10 +129,8 @@ def configure_args(self):
return config_args
@when("@:4.4.5")
def check(self):
with working_dir(self.build_directory):
make("check", parallel=False)
make("check", parallel=self.spec.satisfies("@4.5:"))
@run_after("install")
def cray_module_filenames(self):