Heat a small saucepan over medium-low flame. Sauté the onion, garlic and pepper until soft but not golden, stirring occasionally. Add the grated pumpkin, stock and saffron. Bring to the boil and reduce heat to a gentle simmer. Allow to cook for half an hour, stirring occasionally. Check for seasoning and set aside.