Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739494 - net-proxy/mitmproxy-5.1.1: missing dependency on dev-python/zstandard
Summary: net-proxy/mitmproxy-5.1.1: missing dependency on dev-python/zstandard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-08-29 12:42 UTC by Matthew Smith
Modified: 2020-09-02 22:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Smith gentoo-dev 2020-08-29 12:42:17 UTC
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.
Comment 1 Matthew Smith gentoo-dev 2020-08-29 12:44:24 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2020-09-02 22:43:47 UTC
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(+)