diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-30 15:19:18 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2022-07-31 13:29:20 -0700 |
commit | f52f6e99dbf1131886a80112b8c79dfc414afb7c (patch) | |
tree | 05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin/packages/landsfcutil/package.py | |
parent | 549ba1ed32372c67fc57271cde3797d58b7dec6e (diff) | |
download | spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.gz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.bz2 spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.xz spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.zip |
black: reformat entire repository with black
Diffstat (limited to 'var/spack/repos/builtin/packages/landsfcutil/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/landsfcutil/package.py | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/landsfcutil/package.py b/var/spack/repos/builtin/packages/landsfcutil/package.py index 850a5f5919..ff3a9bf6bf 100644 --- a/var/spack/repos/builtin/packages/landsfcutil/package.py +++ b/var/spack/repos/builtin/packages/landsfcutil/package.py @@ -13,23 +13,23 @@ class Landsfcutil(CMakePackage): This is part of NOAA's NCEPLIBS project.""" homepage = "https://github.com/NOAA-EMC/NCEPLIBS-landsfcutil" - url = "https://github.com/NOAA-EMC/NCEPLIBS-landsfcutil/archive/refs/tags/v2.4.1.tar.gz" + url = "https://github.com/NOAA-EMC/NCEPLIBS-landsfcutil/archive/refs/tags/v2.4.1.tar.gz" - maintainers = ['edwardhartnett', 'kgerheiser', 'Hang-Lei-NOAA'] + maintainers = ["edwardhartnett", "kgerheiser", "Hang-Lei-NOAA"] - version('2.4.1', sha256='831c5005a480eabe9a8542b4deec838c2650f6966863ea2711cc0cc5db51ca14') + version("2.4.1", sha256="831c5005a480eabe9a8542b4deec838c2650f6966863ea2711cc0cc5db51ca14") def setup_run_environment(self, env): - for suffix in ('4', 'd'): - lib = find_libraries('liblandsfcutil_' + suffix, root=self.prefix, - shared=False, recursive=True) + for suffix in ("4", "d"): + lib = find_libraries( + "liblandsfcutil_" + suffix, root=self.prefix, shared=False, recursive=True + ) - env.set('LANDSFCUTIL_LIB' + suffix, lib[0]) - env.set('LANDSFCUTIL_INC' + suffix, - join_path(self.prefix, 'include_' + suffix)) + env.set("LANDSFCUTIL_LIB" + suffix, lib[0]) + env.set("LANDSFCUTIL_INC" + suffix, join_path(self.prefix, "include_" + suffix)) def flag_handler(self, name, flags): - if self.spec.satisfies('%fj'): - if name == 'fflags': - flags.append('-Free') + if self.spec.satisfies("%fj"): + if name == "fflags": + flags.append("-Free") return (None, None, flags) |