def requirements_to_mulled_targets(requirements):
 package_requirements = [r for r in requirements if (r.type == 'package')]
 targets = [build_target(r.name, r.version) for r in package_requirements]
 return targets

def requirements_to_mulled_targets ( requirements ) : package_requirements = [ r for r in requirements if ( r . type == 'package' ) ] targets = [ build_target ( r . name , r . version ) for r in package_requirements ] return targets
convert galaxys representation of requirements into mulled target objects .