After installing mitmproxy and running it: >Traceback (most recent call last): > File "/usr/lib/python-exec/python3.7/mitmproxy", line 6, in <module> > from pkg_resources import load_entry_point > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3251, in <module> > @_call_aside > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside > f(*args, **kwargs) > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set > working_set = WorkingSet._build_master() > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master > ws.require(__requires__) > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require > needed = self.resolve(parse_requirements(requirements)) > File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve > raise DistributionNotFound(req, requirers) >pkg_resources.DistributionNotFound: The 'zstandard' distribution was not found and is required by mitmproxy Installing dev-python/zstandard fixes this.
Just noticed that this package is maintainer-needed. I will try to bump the version, fix some other issues (like incorrect LICENSE field) and submit a GitHub pull request to proxy maintain it later.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f20cf7081e509811951ab7cd29c894f1784e4f commit 77f20cf7081e509811951ab7cd29c894f1784e4f Author: Matt Smith <matt@offtopica.uk> AuthorDate: 2020-08-29 14:37:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-09-02 22:43:38 +0000 net-proxy/mitmproxy: Bump to version 5.2.0 * Add Python 3.8 to PYTHON_COMPAT. * Correct the license; it changed from GPLv3 to MIT in 2013. * Enable more tests. * Remove unnecessary test phase and setup tools rdep. * Use app-arch/brotli[python] instead of dev-python/brotlipy. Closes: https://bugs.gentoo.org/718458 Closes: https://bugs.gentoo.org/727294 Closes: https://bugs.gentoo.org/739494 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Matt Smith <matt@offtopica.uk> Closes: https://github.com/gentoo/gentoo/pull/17315 Signed-off-by: Sam James <sam@gentoo.org> net-proxy/mitmproxy/Manifest | 1 + net-proxy/mitmproxy/mitmproxy-5.2.ebuild | 75 ++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+)