Fry the bacon in a dry pan and transfer to a paper towel.
In the melted fat, lightly fry the onion, add the pumpkin pieces.
Pour 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 has evaporated and the pumpkin is soft.