Halve the pumpkin or squash then cut into quarters, remove the seeds, peel and dice. Discard the green part of the leeks and the outer leaf. Finely slice the white part and rinse under running water. Wash the thyme leaves, pat dry and roughly chop. Make the stock according to packet instructions.