Peel and core the pumpkin and boil the pumpkin flesh in water until soft. If you cut smaller pieces, the soft boiling only takes a few minutes. Then pour the pumpkin flesh into a sieve and puree.
Preheat the oven to 175 degrees circulating air. Grease a loaf tin lightly with butter or margarine.
In a bowl, mix the flour with the spices, salt, baking powder and baking soda
In a second bowl, stir the sugar with the soft butter with a mixer until very frothy, then gradually beat in the eggs thoroughly. Briefly stir in the pumpkin puree, then quickly work in the flour and spice mix, lastly the nuts.
Pour the batter into the mold and bake on the middle sliding shelf of the oven for 50-60 minutes. Then let cool in the mold for a few minutes and turn out onto a grid.
If you want, you can add powdered sugar or chocolate icing to the cake.