Preheat oven to 180 °C. Line 1 baking tray with baking paper. Place pumpkin on baking tray and spray with olive oil. Roast, turning once, for 30 minutes or until golden and tender. Set aside.
Meanwhile, to make pesto, place the garlic, basil, pine nuts, parmesan cheese, and lemon juice in a food processor and process until finely chopped. With the motor running, gradually add in olive oil until well combined. Set aside
In a large bowl, toss the pine nuts, rocket, cherry tomatoes, red onion and pumpkin. Add the feta and pesto and toss gently.