Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477484 - dev-python/PyQt5 ebuild request
Summary: dev-python/PyQt5 ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Qt Bug Alias
URL: http://www.riverbankcomputing.com/sof...
Whiteboard:
Keywords: EBUILD
Depends on: qt5-porting
Blocks: 521484
  Show dependency tree
 
Reported: 2013-07-20 11:11 UTC by Franz Trischberger
Modified: 2014-10-13 17:31 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for PyQt5 5.3.2 (PyQt5-5.3.2.ebuild,4.71 KB, text/plain)
2014-10-04 09:18 UTC, Stefan Radermacher
Details
Add printsupport dependency for QtWebKitWidgets (add_dep.patch,775 bytes, patch)
2014-10-04 09:39 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2013-07-20 11:11:53 UTC
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
Comment 1 Davide Pesavento gentoo-dev 2013-08-16 07:49:08 UTC
Assigning to maintainer-wanted since this is effectively a new package.
Comment 2 Jacob Floyd 2014-07-23 21:22:03 UTC
An ebuild is in the unity-gentoo overlay.
Comment 3 riepernet 2014-08-06 10:52:50 UTC
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.
Comment 4 Stefan Radermacher 2014-10-04 09:18:15 UTC
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.
Comment 5 Chris Mayo 2014-10-04 09:39:21 UTC
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
Comment 6 Davide Pesavento gentoo-dev 2014-10-08 00:08:42 UTC
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

?
Comment 7 Davide Pesavento gentoo-dev 2014-10-08 00:20:54 UTC
Note that they are considered two separate packages on PyPI, but that may be due to a limitation of PyPI engine.
Comment 8 Michael Palimaka (kensington) gentoo-dev 2014-10-08 07:59:56 UTC
(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.
Comment 9 Davide Pesavento gentoo-dev 2014-10-13 17:31:12 UTC
(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.
Comment 10 Davide Pesavento gentoo-dev 2014-10-13 17:31:42 UTC
*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.