Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699112 - app-text/krop is missing USE dependencies for dev-python/PyQt5[gui,widgets]
Summary: app-text/krop is missing USE dependencies for dev-python/PyQt5[gui,widgets]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-11-01 20:51 UTC by Johannes Janssen
Modified: 2020-02-22 20:13 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 Johannes Janssen 2019-11-01 20:51:24 UTC
krop should depend on dev-python/PyQt5[gui,widgets].

krop fails to run on my system with the following error:
> $ krop
> Traceback (most recent call last):
>   File "/usr/lib/python-exec/python3.6/krop", line 18, in <module>
>     main()
>   File "/usr/lib64/python3.6/site-packages/krop/application.py", line 58, in main
>     from krop.qt import QApplication
>   File "/usr/lib64/python3.6/site-packages/krop/qt.py", line 5, in <module>
>     from PyQt5.QtGui import *
> ModuleNotFoundError: No module named 'PyQt5.QtGui'
Futher investigation shows widgets use flag is also need:
> $ grep 'from PyQt5' /usr/lib64/python3.6/site-packages/krop/qt.py
>     from PyQt5.QtCore import *
>     from PyQt5.QtGui import *
>     from PyQt5.QtWidgets import *
Comment 1 Larry the Git Cow gentoo-dev 2020-02-22 20:13:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f185fb37264ca8d43b5c3f1d8066d501dd9ffd6

commit 3f185fb37264ca8d43b5c3f1d8066d501dd9ffd6
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2020-02-22 20:12:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-02-22 20:12:37 +0000

    app-text/krop: Fix PyQt5 dependency, bug 699112
    
    Closes: https://bugs.gentoo.org/699112
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../krop/{krop-0.5.1.ebuild => krop-0.5.1-r1.ebuild}     | 16 +++++++++++-----
 app-text/krop/krop-9999.ebuild                           |  2 +-
 2 files changed, 12 insertions(+), 6 deletions(-)