FS#35837 - package request: PyQt5

Attached to Project: Arch Linux
Opened by Phil Schaf (flying-sheep) - Monday, 17 June 2013, 19:24 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 03 October 2013, 08:53 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi, i got PyQt5 building and installing by adjusting PyQt4’s PKGBUILD: https://gist.github.com/flying-sheep/5799494

but there is a problem: it needs SIP 4.14.7 (its PKGBUILD simply needs a version buff), and PyQt4 needs (or is at least built with) SIP 4.17.6

if one gets to build PyQt4 with the new SIP and buffs both SIP version and PyQt4 pkgrel, the road is clear for PyQt5

just wanted to share this with you that way :)
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Thursday, 03 October 2013, 08:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  pyqt5 5.1.0-1
Comment by Andrea Scarpino (BaSh) - Monday, 17 June 2013, 19:40 GMT
I already updated sip to 4.14.7 in [extra].

Anyway your package is wrong since you still use Qt4 stuff (qtwebkit, qt-assistant-compat,...)
Comment by Phil Schaf (flying-sheep) - Monday, 17 June 2013, 20:17 GMT
haha, you did it right after i filed this! (i downgarded sip after my failed attempt from the repos)

sorry about the wrong dependencies; I hope it will be useful nevertheless.
Comment by Phil Schaf (flying-sheep) - Monday, 01 July 2013, 08:17 GMT
I updated the dependencies some. I don’t thing that QScintilla works with PyQt5, so i removed it from the dependencies.

URL still the same: https://gist.github.com/flying-sheep/5799494
Comment by Phil Schaf (flying-sheep) - Monday, 01 July 2013, 08:54 GMT
current problems:

1. The SIP files exist in PyQt4: /usr/share/sip/Qt*/*.sip

PyQt3 has its sip files in a subdirectory, maybe we can do this for PyQt5, too? like /usr/share/sip/qt5/Qt*/*.sip

2. The Qt mainloop library exists in PyQt4, too: /usr/lib/python{3.3,2.7}/site-packages/dbus/mainloop/qt.so
Some recent change in PyQt5 is the following:

changeset: b72659988feb
date: Sun Jun 23 22:35:27 2013 +0100
The dbus.mainloop.qt module is now called dbus.mainloop.pyqt5 so that it can be
installed side by side with the PyQt4 equivalent.

As per our backport-future-patches policy, we could simply move it, right?
Comment by Phil Schaf (flying-sheep) - Thursday, 22 August 2013, 14:02 GMT
hi, so what’s going on? once sip is upgraded to 4.15, we can drop the patch in the pyqt5 aur package (by bumping its version to to 5.0.1), and everything is fine (afaik)
Comment by Andrea Scarpino (BaSh) - Thursday, 22 August 2013, 14:50 GMT
I just released sip 4.15 to [extra]
Comment by Phil Schaf (flying-sheep) - Thursday, 22 August 2013, 14:56 GMT
thanks!
Comment by Phil Schaf (flying-sheep) - Thursday, 22 August 2013, 16:55 GMT
i’m afraid PyKDE4 and everything else utilizing sip has to be rebuilt again -.-

kate now segfaults with Paté activated, but i can’t determine if that’s PyKDE4’s fault or its own sip stuff’s.
Comment by Andrea Scarpino (BaSh) - Thursday, 22 August 2013, 17:02 GMT
It's probably kdebindings...I'll rebuild it (calibre did segfault because of the pyqt update)
Comment by Andrea Scarpino (BaSh) - Thursday, 22 August 2013, 17:10 GMT
Ouch. It doesn't build with sip 4.15 https://bugs.kde.org/show_bug.cgi?id=323899
Comment by Phil Schaf (flying-sheep) - Friday, 23 August 2013, 06:46 GMT
ouch indeed, but luckily this is already fixed: https://bugs.kde.org/show_bug.cgi?id=307676

so people are surely able to fix this one, too…

unfortunately i’m leaving for a vaccation in an hour, else i’d have registered and mentioned this on the pyqt mailing list.

Loading...