Heat half the oil in a heavy-bottomed pan.
Now fry the onion until it is golden brown.
Meanwhile heat the rest of the oil in a frying-pan.
In this pan sauté the pumpkin pieces until they are golden all over.
Add the tomatoes to the onion pan and cook for a further four minutes.
Next add the garlic and spices and cook for two minutes, stirring a little.
Now add the lentils and pumpkin to the onions
Pour on the stock.
Season with salt and pepper.
Bring to the boil.
Then simmer for 20 minutes or until the lentils have collapsed and the pumpkin is tender.
Adjust the seasoning to taste.