def get_source_target(self): # when self.source_path is set, return a target around it # otherwise assume self.requires() returns a task with a single local target if self.source_path not in (NO_STR, None): return LocalFileTarget(self.source_path) else: return self.input()
def output(self): repo_base = os.path.basename(self.get_repo_path()) return LocalFileTarget("{}_{}.tgz".format(repo_base, self.checksum))
def output(self): return LocalFileTarget("{}.tgz".format( os.path.basename(self.cmssw_path)))
def output(self): return LocalFileTarget("{}_{}.tgz".format(os.path.basename(self.repo_path), self.checksum))