Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632229 - net-misc/gsutil-4.27 needs RDEPEND on >=dev-python/mock-2.0.0
Summary: net-misc/gsutil-4.27 needs RDEPEND on >=dev-python/mock-2.0.0
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:
Depends on:
Blocks:
 
Reported: 2017-09-28 13:18 UTC by Soren Harward
Modified: 2018-02-26 17:12 UTC (History)
1 user (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 Soren Harward 2017-09-28 13:18:09 UTC
gsutil-4.27 (latest as of this report) installs just fine from ebuild, but running it results in:

$ gsutil
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/gsutil", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3030, in <module>
    @_call_aside
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3014, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 3043, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 654, in _build_master
    ws.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 854, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'mock>=2.0.0' distribution was not found and is required by gsutil

Installing dev-python/mock-2.0.0 fixes the problem.
Comment 1 Larry the Git Cow gentoo-dev 2018-02-26 17:12:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d05a19c66566cba22d09aea1b280cdb28fe9f68

commit 8d05a19c66566cba22d09aea1b280cdb28fe9f68
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-02-26 16:50:41 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-02-26 17:11:10 +0000

    net-misc/gsutil: add missing dep dev-python/mock
    
    Closes: https://bugs.gentoo.org/632229
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-misc/gsutil/gsutil-4.27.ebuild | 3 ++-
 net-misc/gsutil/gsutil-4.28.ebuild | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)