The method gentoo uses to build dev-python/PyQt5 appears to be outdated meaning important bindings are not built (see forum thread for issues when building calibre). Prevents #794679, #800233 and #793986 from being closed. Reproducible: Always Steps to Reproduce: 1. build dev-python/PyQt5 2. ls /usr/lib/<python-version>/site-packages/PyQt5/ and note the "bindings" directory is not present Actual Results: Unable to build certain projects relying on PyQt5 Expected Results: Bindings should be built correctly
I've actually been (slowly) working on this for several weeks in a local branch. I have a working ebuild for PyQt5 but still haven't found much time to test the reverse deps. So I propose the following: I will go ahead and commit my ebuild (masked) and then you can submit any changes/improvements you may have by rebasing your PR. Also, testing of reverse deps would be greatly appreciated.
(In reply to Chris Pritchard from comment #0) > 2. ls /usr/lib/<python-version>/site-packages/PyQt5/ and note the "bindings" > directory is not present Well, they're just installed in a different place (the old default path in fact). Upstream doesn't want to provide an option to specify where to look for the .sip files, which would have provided a smoother upgrade path, so...
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa52a65922086d146abaffb410a84f8ad91c048 commit 4aa52a65922086d146abaffb410a84f8ad91c048 Author: Davide Pesavento <pesa@gentoo.org> AuthorDate: 2021-08-02 00:33:25 +0000 Commit: Davide Pesavento <pesa@gentoo.org> CommitDate: 2021-08-02 00:34:31 +0000 dev-python/PyQt5: add 5.15.5_pre2107091435, EAPI 8 Switched the build system to use sip-build + PyQt-builder instead of the deprecated configure.py Bug: https://bugs.gentoo.org/805965 Closes: https://bugs.gentoo.org/797535 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Davide Pesavento <pesa@gentoo.org> dev-python/PyQt5/Manifest | 1 + dev-python/PyQt5/PyQt5-5.15.5_pre2107091435.ebuild | 190 +++++++++++++++++++++ profiles/package.mask | 1 + 3 files changed, 192 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3505313b1bc80620f331af7d76f8c23eb76a32a3 commit 3505313b1bc80620f331af7d76f8c23eb76a32a3 Author: Chris Pritchard <chris@christopherpritchard.co.uk> AuthorDate: 2021-08-15 07:35:32 +0000 Commit: Davide Pesavento <pesa@gentoo.org> CommitDate: 2021-08-15 07:46:23 +0000 dev-python/PyQtWebEngine: add 5.15.5_pre2108100905, EAPI 8 Switch build system to sip-build Bug: https://bugs.gentoo.org/805965 Closes: https://github.com/gentoo/gentoo/pull/21854 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Chris Pritchard <chris@christopherpritchard.co.uk> Signed-off-by: Davide Pesavento <pesa@gentoo.org> dev-python/PyQtWebEngine/Manifest | 1 + .../PyQtWebEngine-5.15.5_pre2108100905.ebuild | 76 ++++++++++++++++++++++ profiles/package.mask | 1 + 3 files changed, 78 insertions(+)
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d179d0f68baee20c0dfb12fa7981e07aafb9d8