dev-python/
ephemeral-port-reserve

Bind to an ephemeral port, force it into the TIME_WAIT state, and unbind it

https://pypi.org/project/ephemeral-port-reserve/

There are no pull requests

You think something is missing here?
Start with filling a new pull requests.

If you also like to help the Gentoo project, you can consider sending a Pull Request via GitHub.
Before doing so, you might want to take a look at the wiki page.