Heat the oil in a deep pan (about 26 cm) and cook the finely chopped onion and pepper over medium heat for 6–7 minutes, until soft.
Add the chopped garlic, paprika, cumin and chili and stir for 30 seconds, until fragrant.
Pour in the tomatoes, add the sugar, salt and pepper and simmer for 8–10 minutes, until the sauce thickens.
Make 4 wells in the sauce with a spoon and gently slide one egg into each. Lightly salt the whites.
Cover and cook over low heat for 5–7 minutes, until the whites are set and the yolks are still runny.
Sprinkle with crumbled feta and parsley and serve at once, straight from the pan.