The uniformly frustrated two-dimensional XY model in the limit of weak frustration