Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337471 - Please drop the dependency of pygsl, rpy, and scipy for qtiplot
Summary: Please drop the dependency of pygsl, rpy, and scipy for qtiplot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Marcus D. Hanwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 11:01 UTC by Luyang Han
Modified: 2010-09-19 19:40 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 Luyang Han 2010-09-15 11:01:45 UTC
The sci-visualization/qtiplot-0.9.8.2 has the following dependency:

RDEPEND="${CDEPEND}
	python? (
		dev-python/PyQt4[X]
		dev-python/pygsl
		dev-python/rpy
		sci-libs/scipy )"

However it is not required to install pygsl, rpy and scipy to run qtiplot. The qtiplot contains an example initialization script, which will try to import certain module from these packages to enhance some functions, but is not strictly required. The python scripting can still start without those. And the initialization script from the qtiplot package serves just as an example. Usually people will have their own initialization script, to define and import some customs things.

I suggest that the qtiplot should drop the dependency for these optional packages. Perhaps certain message can be added to the ebuild, which tells the users that he can emerge pygsl, rpy and scipy if he wants to use some enhanced function from the example initialization script.


P.S. The new example script will also try to import sympy.

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-09-18 15:51:19 UTC
But then we will have automagics, when those packages are installed. Do we want this?
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-09-18 16:17:30 UTC
Also could you suggest elog message?
Comment 3 Luyang Han 2010-09-19 08:31:44 UTC
Yes, I am suggesting elog. Sorry just forgot that term.

As I explained, the default python initialization script comes with qtiplot is just one example. Anyone who really need to use python script will and should check the initialization script, and even write their own. And also, all the scripting examples described in the manual of qtiplot can be executed with the default initialization script when those additional packages are missing.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-09-19 11:17:03 UTC
That's right, but when they are present they will be used, although the user might not want it, That's what is meant with automagic.
But you are right, thay aren't needed and the use of those scripts wil be heavily changed by the user. So will dropp them, and add an msg. Thanks for reporting.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-09-19 19:40:40 UTC
+  19 Sep 2010; Justin Lecher <jlec@gentoo.org> qtiplot-0.9.8.2.ebuild:
+  Removed not really needed dependencies for python support, 337471
+