Fry the bacon in a dry pan and transfer to a paper towel.
In the melted fat, lightly fry the onion, add pieces of pumpkin.
Pour in dry white wine (so much that the bottom of the pan was covered with it), lemon juice, you can add a little water.
Season with pepper, thyme, if desired, you can add a little salt. Simmer until the liquid evaporates and you need the softness of the pumpkin.