Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896148 - kde-apps/kajongg-22.08.3: missing QtPy dependency
Summary: kde-apps/kajongg-22.08.3: missing QtPy dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-24 01:53 UTC by galen_42@protonmail.com
Modified: 2024-09-10 15:50 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 galen_42@protonmail.com 2023-02-24 01:53:37 UTC
When I attempt to run kajongg here is what I get from the command line:

kajongg
Traceback (most recent call last):
  File "/usr/bin/kajongg", line 20, in <module>
    from qt import QObject, QCommandLineParser, QCommandLineOption, Qt, QGuiApplication
  File "/usr/share/kajongg/qt.py", line 12, in <module>
    from qtpy import uic
ModuleNotFoundError: No module named 'qtpy'


It would appear that QtPy need to be added as a dependency to the package.
Comment 1 galen_42@protonmail.com 2023-02-24 02:35:41 UTC
Just got done building QtPy and the program is now running correctly.  That dependency needs to be added to the ebuild.
Comment 2 Larry the Git Cow gentoo-dev 2023-02-25 08:35:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=6ebae7e102f08776fa664ec2577fc34d518c41a3

commit 6ebae7e102f08776fa664ec2577fc34d518c41a3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-02-25 08:34:01 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-25 08:34:01 +0000

    kde-apps/kajongg: Upstream switched from PyQt5 to QtPy
    
    Upstream commit dd01383c84dba7a66bf3bd48eaa17f5a5d21b75e
    
    Bug: https://bugs.gentoo.org/896148
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kajongg/kajongg-22.12.49.9999.ebuild | 2 +-
 kde-apps/kajongg/kajongg-9999.ebuild          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2023-02-25 09:01:27 UTC
The bug has been closed via the following commit(s):

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

commit b8fbc1045cd3a36fab181d52a78cbc7d86c67247
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-02-25 08:34:01 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-25 08:37:34 +0000

    kde-apps/kajongg: Upstream switched from PyQt5 to QtPy
    
    Upstream commit dd01383c84dba7a66bf3bd48eaa17f5a5d21b75e
    
    Closes: https://bugs.gentoo.org/896148
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kajongg/kajongg-22.08.3-r1.ebuild | 48 ++++++++++++++++++++++++++++++
 kde-apps/kajongg/kajongg-22.12.2-r1.ebuild | 48 ++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)