Prepare the pumpkin, cut part into slices and leave to dry in the oven at 90°C (200°F) for 1-1.5 h with some sugar.
Sauté the onion in a frying pan, cut the remaining pumpkin into cubes and brown for a few minutes, stirring to keep it from sticking. Pour the vegetable broth in a small pan a little at a time until the pumpkin is cooked. It should become a soft and creamy mixture.