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
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.
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