Skip to content

Commit 299d1ae

Browse files
committed
last style issues
add package for feelpp #4
1 parent 0b12717 commit 299d1ae

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

var/spack/repos/builtin/packages/feelpp/package.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from spack.package import *
22

3+
34
class Feelpp(CMakePackage):
45
"""
56
Feel++ is an Open-Source C++ library designed to solve a wide range of
@@ -19,7 +20,7 @@ class Feelpp(CMakePackage):
1920
git = "https://github.com/feelpp/feelpp.git"
2021

2122
license("LGPL-3.0-or-later AND GPL-3.0-or-later")
22-
maintainers( "prudhomm", "vincentchabannes" )
23+
maintainers("prudhomm", "vincentchabannes")
2324

2425
version("develop", branch="develop")
2526
version("preset", branch="2284-add-spack-environment-to-the-main-ci")
@@ -41,12 +42,13 @@ class Feelpp(CMakePackage):
4142
conflicts("+cpp17", when="+cpp23", msg="Cannot enable both C++17 and C++23")
4243
conflicts("+cpp20", when="+cpp23", msg="Cannot enable both C++20 and C++23")
4344

44-
4545
# Specify dependencies with the required versions
4646
depends_on("[email protected]:", type="build") # Require CMake > 3.21
47-
depends_on("[email protected]: +regex+date_time+filesystem+iostreams+mpi+multithreaded+program_options+serialization+shared+system+test")
47+
depends_on(
48+
"[email protected]: +regex+date_time+filesystem+iostreams+mpi+multithreaded+program_options+serialization+shared+system+test"
49+
)
4850
depends_on("[email protected] +mumps+hwloc+ptscotch +suite-sparse+hdf5 +hypre+kokkos")
49-
depends_on("llvm@18:",type="build") # Require LLVM (Clang) version 18 or higher
51+
depends_on("llvm@18:", type="build") # Require LLVM (Clang) version 18 or higher
5052
depends_on("slepc")
5153
depends_on("mpi")
5254
depends_on("[email protected]")
@@ -64,9 +66,6 @@ class Feelpp(CMakePackage):
6466
depends_on("ruby")
6567
depends_on("curl")
6668

67-
68-
69-
7069
# Python dependencies if +python variant is enabled
7170
depends_on("py-pytest", when="+python")
7271
depends_on("py-pandas", when="+python")
@@ -118,7 +117,6 @@ def build(self, spec, prefix):
118117

119118
cmake("--build", "--preset", self.get_preset_name())
120119

121-
122120
def install(self, spec, prefix):
123121
"""Override the default install command to use CMake presets."""
124122
cmake = which("cmake")

0 commit comments

Comments
 (0)