Skip to content

Commit c017182

Browse files
committed
extra formatting required by spack
1 parent b47f6bd commit c017182

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

repos/spack_repo/builtin/packages/mumps/package.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,8 @@ def create_pkgconfig(self):
460460
or ("+complex+double" in self.spec and char == "z")
461461
):
462462
with open(join_path(pkg_path, f"{char}mumps.pc"), "w") as f:
463-
f.write(f"""prefix={self.prefix}
463+
f.write(
464+
f"""prefix={self.prefix}
464465
exec_prefix=${{prefix}}
465466
libdir={libdir}
466467
includedir={includedir}
@@ -470,7 +471,8 @@ def create_pkgconfig(self):
470471
Version: {self.version}
471472
Cflags: -I${{includedir}}
472473
Libs: -L${{libdir}} -l{char}mumps
473-
""")
474+
"""
475+
)
474476

475477
@property
476478
def libs(self):

repos/spack_repo/builtin/packages/py_python_mumps/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class PyPythonMumps(PythonPackage):
3737

3838
# External solver
3939
depends_on("mumps+float+complex+double+metis+scotch+pkgconfig", when="+mpi")
40-
depends_on("mumps~mpi+float+complex+double+metis+pkgconfig", when="~mpi")
40+
depends_on("mumps~mpi+float+complex+double+metis+scotch+pkgconfig", when="~mpi")
4141

4242
patch("patch_meson_build.patch")
4343

0 commit comments

Comments
 (0)