Pumpkin Risotto

1 kilogram Kent pumpkin, cut into 2 cm pieces ¼ cup extra virgin olive oil ¼ teaspoon chili flakes 1½ litres vegetable stock 50