Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792861 - dev-python/PyQt5: missing bindings for QtTextToSpeech and QtQuick3d
Summary: dev-python/PyQt5: missing bindings for QtTextToSpeech and QtQuick3d
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-29 16:02 UTC by Andrew Nowa Ammerlaan
Modified: 2021-06-02 20:27 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 Andrew Nowa Ammerlaan gentoo-dev 2021-05-29 16:02:18 UTC
Currently Qt4Python bindings for the 3D and speech modules are only provided by dev-python/pyside2, in principle dev-python/PyQt5 has support for these bindings too, however the ebuild does not provide a flag to enable these. Because of this dev-python/QtPy (the abstraction layer) also cannot properly support these bindings, as they are not provided by both implementations.

An initial attempt to add these bindings to the PyQt5 ebuild failed because none of the dev-qt/ packages seem to provide the necessary QtQuick3D module. One would expect dev-qt/qt3d[qml] to enable building this module, but apparently it does not:
```
Project ERROR: Unknown module(s) in QT: quick3d
```
See also: https://github.com/gentoo/gentoo/pull/21037

Any help or advice in solving this problem would be greatly appreciated
Comment 1 Larry the Git Cow gentoo-dev 2021-06-02 20:13:15 UTC
The bug has been referenced in the following commit(s):

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

commit 855845d182eafb7cd34fe4279bd639518ec84f98
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: 2021-06-02 20:07:37 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2021-06-02 20:13:00 +0000

    dev-python/PyQt5: add USE=speech
    
    Bug: https://bugs.gentoo.org/792861
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Davide Pesavento <pesa@gentoo.org>

 .../PyQt5/{PyQt5-5.15.4.ebuild => PyQt5-5.15.4-r1.ebuild}      | 10 ++++++----
 dev-python/PyQt5/metadata.xml                                  |  3 ++-
 profiles/arch/powerpc/package.use.mask                         |  2 +-
 3 files changed, 9 insertions(+), 6 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2021-06-02 20:27:05 UTC
The bug has been referenced in the following commit(s):

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

commit cb7418b6e3f62b9dc73a7f425a38af4351b87db7
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2021-06-02 20:25:36 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-06-02 20:25:36 +0000

    dev-python/QtPy: add USE="speech"
    
    Bug: https://bugs.gentoo.org/792861
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 dev-python/QtPy/QtPy-1.9.0-r5.ebuild | 15 +++++++--------
 dev-python/QtPy/metadata.xml         |  3 ++-
 2 files changed, 9 insertions(+), 9 deletions(-)