changeset: 785762fc2868 date: Sun Jun 16 14:28:48 2013 +0100 Released as v5.0. Would be nice to get this into portage. Download: http://www.riverbankcomputing.co.uk/software/pyqt/download5
Assigning to maintainer-wanted since this is effectively a new package.
An ebuild is in the unity-gentoo overlay.
the ebuild in unity-overlay is of a different version (5.2.1) than the rest of Qt5 (qt-overlay). I encountered incompatabilities with at least qtwebkit. Fiddled around with the 5.2.1-ebuild, but due to my limited knowledge, building other versions failed.
Created attachment 386026 [details] Ebuild for PyQt5 5.3.2 Here's an ebuild dev-python/PyQt5-5.3.2.ebuild for PyQt5 version 5.3.2, which is needed to build Calibre 2.x: Before emerging, you will need to manually create a symbolic link for Qt5's qprinter.h: ln -s /usr/include/qt5/QtPrintSupport/qprinter.h /usr/include/qt5 After that you can compile PyQt5. I've attached an ebuild for Calibre 2.4.0 to Bug #521484 that sets the appropriate USE flags for its PyQt5 dependency.
Created attachment 386030 [details, diff] Add printsupport dependency for QtWebKitWidgets Or you can try this patch from: http://www.riverbankcomputing.com/pipermail/pyqt/2014-September/034830.html Apparently will be in the next PyQt5 version: http://www.riverbankcomputing.com/pipermail/pyqt/2014-October/034908.html
Should we: 1. rename dev-python/PyQt4 to dev-python/PyQt (or lowercase pyqt) 2. move 4.x ebuilds to SLOT=4 3. add new PyQt 5.x packages as SLOT=5 of dev-python/PyQt ?
Note that they are considered two separate packages on PyPI, but that may be due to a limitation of PyPI engine.
(In reply to Davide Pesavento from comment #6) > Should we: > > 1. rename dev-python/PyQt4 to dev-python/PyQt (or lowercase pyqt) > 2. move 4.x ebuilds to SLOT=4 > 3. add new PyQt 5.x packages as SLOT=5 of dev-python/PyQt > > ? Seems reasonable.
(In reply to Davide Pesavento from comment #6) OTOH, it doesn't really give us any benefits, and it requires some work to fix all the revdeps, so I'm not gonna do it for now.
*PyQt5-5.3.2 (13 Oct 2014) 13 Oct 2014; Davide Pesavento <pesa@gentoo.org> +PyQt5-5.3.2.ebuild, +metadata.xml: Initial commit of PyQt5, closes bug #477484. Ebuild written by me, based on dev-python/PyQt4.