@@ -4038,15 +4038,6 @@ def ready_step_spec(initial):
40384038 return get_step (READY_STEP , "creating build dir, resetting environment" , ready_substeps , False ,
40394039 initial = initial )
40404040
4041- source_substeps = [
4042- (False , lambda x : x .checksum_step ),
4043- (True , lambda x : x .extract_step ),
4044- ]
4045-
4046- def source_step_spec (initial ):
4047- """Return source step specified."""
4048- return get_step (SOURCE_STEP , "unpacking" , source_substeps , True , initial = initial )
4049-
40504041 install_substeps = [
40514042 (False , lambda x : x .stage_install_step ),
40524043 (False , lambda x : x .make_installdir ),
@@ -4060,6 +4051,7 @@ def install_step_spec(initial):
40604051 # format for step specifications: (step_name, description, list of functions, skippable)
40614052
40624053 # core steps that are part of the iterated loop
4054+ extract_step_spec = (SOURCE_STEP , "unpacking" , [lambda x : x .extract_step ], True )
40634055 patch_step_spec = (PATCH_STEP , 'patching' , [lambda x : x .patch_step ], True )
40644056 prepare_step_spec = (PREPARE_STEP , 'preparing' , [lambda x : x .prepare_step ], False )
40654057 configure_step_spec = (CONFIGURE_STEP , 'configuring' , [lambda x : x .configure_step ], True )
@@ -4069,9 +4061,9 @@ def install_step_spec(initial):
40694061
40704062 # part 1: pre-iteration + first iteration
40714063 steps_part1 = [
4072- (FETCH_STEP , 'fetching files' , [lambda x : x .fetch_step ], False ),
4064+ (FETCH_STEP , 'fetching files' , [lambda x : x .fetch_step , lambda x : x . checksum_step ], False ),
40734065 ready_step_spec (True ),
4074- source_step_spec ( True ) ,
4066+ extract_step_spec ,
40754067 patch_step_spec ,
40764068 prepare_step_spec ,
40774069 configure_step_spec ,
@@ -4085,7 +4077,7 @@ def install_step_spec(initial):
40854077 # not all parts of all steps need to be rerun (see e.g., ready, prepare)
40864078 steps_part2 = [
40874079 ready_step_spec (False ),
4088- source_step_spec ( False ) ,
4080+ extract_step_spec ,
40894081 patch_step_spec ,
40904082 prepare_step_spec ,
40914083 configure_step_spec ,
0 commit comments