@@ -68,7 +68,7 @@ def extra_options(extra_vars=None):
6868
6969 def __init__ (self , * args , ** kwargs ):
7070 """Easyblock constructor: initialise class variables."""
71- super (EB_Amber , self ).__init__ (* args , ** kwargs )
71+ super ().__init__ (* args , ** kwargs )
7272
7373 if LooseVersion (self .version ) < LooseVersion ('20' ):
7474 # Build Amber <20 in install directory
@@ -83,7 +83,7 @@ def __init__(self, *args, **kwargs):
8383 def extract_step (self ):
8484 """Extract sources; strip off parent directory during unpack"""
8585 self .cfg .update ('unpack_options' , "--strip-components=1" )
86- super (EB_Amber , self ).extract_step ()
86+ super ().extract_step ()
8787
8888 def patch_step (self , * args , ** kwargs ):
8989 """Patch Amber using 'update_amber' tool, prior to applying listed patch files (if any)."""
@@ -118,7 +118,7 @@ def patch_step(self, *args, **kwargs):
118118 for _ in range (self .cfg ['patchruns' ]):
119119 run_shell_cmd (cmd )
120120
121- super (EB_Amber , self ).patch_step (* args , ** kwargs )
121+ super ().patch_step (* args , ** kwargs )
122122
123123 def configure_step (self ):
124124 """Apply the necessary CMake config opts."""
@@ -203,15 +203,15 @@ def configure_step(self):
203203 self .cfg .update ('configopts' , '-DCOMPILER=AUTO' )
204204
205205 # configure using cmake
206- super (EB_Amber , self ).configure_step ()
206+ super ().configure_step ()
207207
208208 def build_step (self ):
209209 """Build Amber"""
210210 if LooseVersion (self .version ) < LooseVersion ('20' ):
211211 # Building Amber < 20 is done in install step.
212212 return
213213
214- super (EB_Amber , self ).build_step ()
214+ super ().build_step ()
215215
216216 def test_step (self ):
217217 """Testing Amber build is done in install step."""
@@ -308,7 +308,7 @@ def configuremake_install_step(self):
308308
309309 # build in situ using 'make install'
310310 # note: not 'build'
311- super (EB_Amber , self ).install_step ()
311+ super ().install_step ()
312312
313313 # test
314314 if self .cfg ['runtest' ]:
@@ -325,7 +325,7 @@ def install_step(self):
325325 self .configuremake_install_step ()
326326 return
327327
328- super (EB_Amber , self ).install_step ()
328+ super ().install_step ()
329329
330330 # Run the tests located in the build directory
331331 if self .cfg ['runtest' ]:
@@ -374,11 +374,11 @@ def sanity_check_step(self):
374374 'files' : [os .path .join (self .installdir , 'bin' , binary ) for binary in binaries ],
375375 'dirs' : [],
376376 }
377- super (EB_Amber , self ).sanity_check_step (custom_paths = custom_paths )
377+ super ().sanity_check_step (custom_paths = custom_paths )
378378
379379 def make_module_extra (self ):
380380 """Add module entries specific to Amber/AmberTools"""
381- txt = super (EB_Amber , self ).make_module_extra ()
381+ txt = super ().make_module_extra ()
382382
383383 txt += self .module_generator .set_environment ('AMBERHOME' , self .installdir )
384384
0 commit comments