Mix the olive oil, lemon juice, garlic, oregano, salt, pepper, and sugar in a small bowl and set aside.
Cook the pasta according to package directions. Drain and spread out on a baking sheet to allow it to cool more quickly. I drizzle a little bit of olive oil on it at this stage to keep it moist and prevent it from sticking. After it has cooled for about 10 minutes or so, move to a large bowl and toss the pasta with the dressing.
Toast the pine nuts by putting them in a small skillet over medium-low heat and cooking for about 5 minutes.
Add the pine nuts, raisins, olives, red onion, and basil and stir to combine. Add the feta and mix.
Cover and refrigerate. Bring back to room temperature before serving.