Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874045 - dev-python/qtconsole: Add ~ppc64 keyword
Summary: dev-python/qtconsole: Add ~ppc64 keyword
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: KEYWORDREQ, PATCH
Depends on: 871525
Blocks:
  Show dependency tree
 
Reported: 2022-10-02 12:49 UTC by Chris Kerr
Modified: 2023-01-14 19:25 UTC (History)
2 users (show)

See Also:
Package list:
dev-python/qtconsole ppc64
Runtime testing required: ---
nattka: sanity-check-


Attachments
Patch to qtconsole ebuild to allow testing with only one of pyqt5 and pyside2 (0002-Allow-testing-dev-python-qtconsole-with-only-one-of-.patch,2.20 KB, patch)
2022-10-02 12:50 UTC, Chris Kerr
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Kerr 2022-10-02 12:49:42 UTC
The ebuild says that both pyqt5 and pyside2 USE flags are required on QtPy for compiling qtconsole with FEATURES=test, but using the QT_API environment variable it is possible to test with just one of those.

Reproducible: Always
Comment 1 Chris Kerr 2022-10-02 12:50:18 UTC
Created attachment 815461 [details, diff]
Patch to qtconsole ebuild to allow testing with only one of pyqt5 and pyside2
Comment 2 Chris Kerr 2022-10-02 12:52:14 UTC
I only included qtconsole itself in the Package List field, because the other dependencies are included in https://bugs.gentoo.org/871525
Comment 3 Chris Kerr 2022-10-02 12:53:44 UTC
Note that because QtPy 2.2 includes support for both Qt 5 and Qt 6, if qtconsole only supports Qt 5 then it will have to express its QtPy dependency with USE flags anyway.
Comment 4 NATTkA bot gentoo-dev 2022-10-02 12:56:15 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2022-10-14 01:32:21 UTC Comment hidden (obsolete)
Comment 6 Chris Kerr 2022-10-14 16:03:30 UTC
(In reply to NATTkA bot from comment #5)
> Sanity check failed:
> 
> > dev-python/qtconsole-5.3.2
> >   bdepend ~ppc64 stable profile default/linux/ppc64/17.0 (13 total)
> >     dev-python/QtPy[pyqt5,pyside2,python_targets_python3_10(-),python_targets_python3_8(-),python_targets_python3_9(-),svg,testlib]
> >   bdepend ~ppc64 dev profile default/linux/ppc64/17.0/desktop/gnome/systemd/merged-usr (8 total)
> >     dev-python/QtPy[pyqt5,pyside2,python_targets_python3_10(-),python_targets_python3_8(-),python_targets_python3_9(-),svg,testlib]


There will also need to be a package.use.mask entry to block the pyside2 USE flag on ppc64.
Comment 7 NATTkA bot gentoo-dev 2022-10-16 01:40:59 UTC Comment hidden (obsolete)
Comment 8 NATTkA bot gentoo-dev 2022-10-27 15:04:19 UTC Comment hidden (obsolete)
Comment 9 NATTkA bot gentoo-dev 2022-11-02 07:40:30 UTC Comment hidden (obsolete)
Comment 10 NATTkA bot gentoo-dev 2023-01-14 19:25:18 UTC
Sanity check failed:

> dev-python/qtconsole-5.4.0
>   bdepend ~ppc64 stable profile default/linux/ppc64/17.0 (19 total)
>     dev-python/QtPy[pyqt5,pyside2,python_targets_python3_10(-),python_targets_python3_11(-),python_targets_python3_9(-),svg,testlib]
>   bdepend ~ppc64 dev profile default/linux/ppc64/17.0/musl (2 total)
>     dev-python/QtPy[pyqt5,pyside2,python_targets_python3_10(-),python_targets_python3_11(-),python_targets_python3_9(-),svg,testlib]