Married straight priests are better than single gay priests.
The Episcopalians manage to have both: sometimes both in the same man (check out Gene Robinson in Wikipedia).
And it seems to me that a chaste person struggling with same-sex attractions would realize, himself, that the priesthood would present him with ongoing stress and turmoil because of his vulnerability to male attractiveness.
Gay men should not be in seminary, let alone in the priesthood.
In any context, they may have a long and lonely struggle. I would suggest a specialized spiritual support group, like Courage (LINK), a Catholic movement which ministers to persons with same-sex attractions and helps them flourish spiritually while living the way of chastity.