SAN FRANCISCO Home run king Barry Bonds will have his No. 25 jersey retired this August by the San Francisco Giants when his former Pittsburgh Pirates are in town.