def convert_requirements(requirements):
for req in requirements:<EOL><INDENT>parsed_requirement = pkg_resources.Requirement.parse(req)<EOL>spec = requires_to_requires_dist(parsed_requirement)<EOL>extras = "<STR_LIT:U+002C>".join(parsed_requirement.extras)<EOL>if extras:<EOL><INDENT>extras = "<STR_LIT>" % extras<EOL><DEDENT>yield (parsed_requirement.project_name + extras + spec)<EOL><DEDENT>
Yield Requires-Dist: strings for parsed requirements strings.