Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197852 - sci-visualization/veusz-1.0: missing dependency: dev-python/PyQt4
Summary: sci-visualization/veusz-1.0: missing dependency: dev-python/PyQt4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcus D. Hanwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-02 07:09 UTC by Felix Bechstein
Modified: 2007-11-09 12:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Bechstein 2007-11-02 07:09:33 UTC
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 Sascha Lucas 2007-11-03 10:11:46 UTC
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 Sascha Lucas 2007-11-03 10:45:34 UTC
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 Sébastien Fabbro (RETIRED) gentoo-dev 2007-11-09 12:26:32 UTC
Fixed in cvs. Thanks.