Fry the onion in butter, add the spices, add the pumpkin and potatoes and continue to fry everything. Deglaze with the vegetable stock and continue cooking until the pumpkin and potatoes are tender. Then puree, bring to the boil again, season to taste and serve.