FS#16778 - [python-matplotlib] pyqt optdepend and Qt4 backend

Attached to Project: Community Packages
Opened by Thomas Gastine (Tondu) - Thursday, 22 October 2009, 12:21 GMT
Last edited by Stefan Husmann (stefanhusmann) - Saturday, 23 January 2010, 12:56 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Stefan Husmann (stefanhusmann)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Please consider to add pyqt as an optdepend of python-matplotlib to get the Qt4Agg matplotlib backend (as done for GTKAgg with pygtk).

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Stefan Husmann (stefanhusmann)
Saturday, 23 January 2010, 12:56 GMT
Reason for closing:  Implemented
Comment by Stefan Husmann (stefanhusmann) - Thursday, 22 October 2009, 16:37 GMT
The current build script does not detect qt at build time. It does detect qt3. Nevertheless I will consider your suggestion for next release.
Comment by Thomas Gastine (Tondu) - Friday, 23 October 2009, 08:48 GMT
It is weird as qt4 and pyqt are well detected at build time on my box :

BUILDING MATPLOTLIB
matplotlib: 0.99.1.1
python: 2.6.3 (r263:75183, Oct 4 2009, 11:40:05) [GCC
4.4.1]
platform: linux2

REQUIRED DEPENDENCIES
numpy: 1.3.0
freetype2: 9.20.3

OPTIONAL BACKEND DEPENDENCIES
libpng: 1.2.39
Tkinter: Tkinter: 73770, Tk: 8.5, Tcl: 8.5
wxPython: 2.8.10.1
* WxAgg extension not required for wxPython >= 2.8
Gtk+: gtk+: 2.18.3, glib: 2.22.2, pygtk: 2.16.0,
pygobject: 2.20.0
Qt: no
Qt4: Qt: 4.5.2, PyQt4: 4.5.4
Cairo: 1.8.6

What's more, some of the sed commands you put into your PKGBUILD (especially those concerning the setup.py file)
don't seem to be useful. Imho, you'd better put them into the setup.cfg file.

Kind regards

Tondu
Comment by Dan Griffiths (Ghost1227) - Wednesday, 13 January 2010, 03:38 GMT
stefan: what's the situation with this ticket?
Comment by Stefan Husmann (stefanhusmann) - Wednesday, 13 January 2010, 12:35 GMT
A new upstrem release is out since 9.1.2010 (got no out of date notification yet). I will try to fix this soon.

Loading...