'Return tuples defining this repository\'s repository dependencies that are necessary only for compiling this repository\'s tool
dependencies.'

@property
def tuples_of_repository_dependencies_needed_for_compiling_td(self):

    rd_tups_of_repositories_needed_for_compiling_td = []
    if self.metadata:
        repository_dependencies = self.metadata.get('repository_dependencies', None)
        rd_tups = repository_dependencies['repository_dependencies']
        for rd_tup in rd_tups:
            if (len(rd_tup) == 6):
                (tool_shed, name, owner, changeset_revision, prior_installation_required, only_if_compiling_contained_td) = rd_tup
                if asbool(only_if_compiling_contained_td):
                    rd_tups_of_repositories_needed_for_compiling_td.append((tool_shed, name, owner, changeset_revision, 'False', 'True'))
    return rd_tups_of_repositories_needed_for_compiling_td
