The Dodgers (49-38) take three of four games from the Pirates to begin their final homestand before the All-Star break and move a half-game back of the first-place Diamondbacks in the NL West with a 5-2 victory.