Steam the pumpkin, remove the skin, and mash it.
Melt the dark chocolate and butter using a double boiler.
Combine the mashed pumpkin, melted chocolate, eggs, almond flour, and cocoa powder, and mix well.
Add baking powder and salt, and mix thoroughly.
Pour the batter into a mold and smooth it out.
Bake in a preheated oven at 180°C for 25 minutes.