Dice the pumpkin, boil it in a little water until soft and then let it cool down. Puree the pumpkin pulp.
Heat the cream, milk, sugar and spices. Mix the egg yolks with a few tablespoons of it, then add everything to the cream-milk mixture. Keep stirring over low heat until it thickens. Finally add the pumpkin puree, mix and let cool.
Place in the ice cream maker or in the freezer for 5 hours. If in the freezer, stir every hour with a hand blender.