Bug 197852 - sci-visualization/veusz-1.0: missing dependency: dev-python/PyQt4
Bug#: 197852 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cryos@gentoo.org Reported By: f@ub0r.de
Component: Ebuilds
URL: 
Summary: sci-visualization/veusz-1.0: missing dependency: dev-python/PyQt4
Keywords:  
Status Whiteboard: 
Opened: 2007-11-02 07:09 0000
Description:   Opened: 2007-11-02 07:09 0000
i just emerged sci-visualization/veusz-1.0, but it did not pull in
dev-python/PyQt4 (not emerged at this time) as dependency.
running veusz brings "ImportError: No module named PyQt4.QtCore".
emerging PyQt4 by handsolves this problem.

Reproducible: Always

Steps to Reproduce:
1.emerge -C PyQt4
2.emerge =sci-visualization/veusz-1.0
3.veusz

Actual Results:  
Traceback (most recent call last):
  File "/usr/bin/veusz", line 9, in ?
    import veusz.veusz_main
  File "/usr/lib/python2.4/site-packages/veusz/veusz_main.py", line 43, in ?
    import veusz.qtall as qt4
  File "/usr/lib/python2.4/site-packages/veusz/qtall.py", line 5, in ?
    from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore


Expected Results:  
veusz comes up with a qt4 window

------- Comment #1 From Sascha Lucas 2007-11-03 10:11:46 0000 -------
As the INSTALL in the source tree says, the correct $DEPEND is:

DEPEND=">=virtual/python-2.3
        >=dev-python/numpy-1.0
          dev-python/PyQt4"

dev-python/numarray is not mentioned. and as far as I can say, it can be
removed.

------- Comment #2 From Sascha Lucas 2007-11-03 10:45:34 0000 -------
OT: doc USE flag.

As now manual.xml and generate_manual.sh should be installed (while I miss
manual.xml in my /usr/doc...??). This would force docbook dependency... The
source includes already .html and .pdf. I would say not to install .xml and .sh
and therefore .html and .pdf. for example:

if use doc; then
                ...
               -dohtml -r Documents/{manual.xml,manimages}
               +dohtml -r Documents/{manual.html,manimages}
                insinto /usr/share/doc/${PF}/Documents
               -doins Documents/generate_manual.sh
               +doins Documents/manual.pdf
fi

------- Comment #3 From Sébastien Fabbro 2007-11-09 12:26:32 0000 -------
Fixed in cvs. Thanks.