Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402575 - dev-python/matplotlib-1.1.0: addition one of USE="gtk tk doc examples fltk wxwidgets" pulls in ruby
Summary: dev-python/matplotlib-1.1.0: addition one of USE="gtk tk doc examples fltk wx...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 18:30 UTC by Martin Mokrejš
Modified: 2012-03-01 21:56 UTC (History)
1 user (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 Martin Mokrejš 2012-02-07 18:30:20 UTC
Hi,
  I wanted to add mainly doc and examples but realized that 
>>> plt.show()
does not give me any output on my X11 screen. Therefore I thought I should add gtk tk and maybe more widgets. But now ruby is being pulled in. I certainly I do not want to learn yet another language. Which package needs that? Is there a USE flag for that? ;-)



# USE="gtk tk doc examples fltk wxwidgets" emerge matplotlib --tree

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] dev-ruby/json-1.6.4  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[nomerge       ]  dev-lang/ruby-1.9.3_p0  USE="berkdb gdbm ipv6 ncurses rdoc readline ssl tk yaml -debug -doc -examples -rubytests -socks5 -xemacs" 
[ebuild  N     ]   dev-ruby/rdoc-3.12  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[ebuild  N     ]    dev-ruby/json-1.6.4  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[ebuild  N     ]    dev-ruby/racc-1.4.7  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[ebuild  N     ]     dev-ruby/rake-0.9.2.2  USE="-bash-completion -doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[ebuild  N     ]      virtual/rubygems-4  RUBY_TARGETS="(ruby19)" 
[nomerge       ] dev-ruby/racc-1.4.7  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[nomerge       ]  virtual/rubygems-4  RUBY_TARGETS="(ruby19)" 
[nomerge       ]   dev-ruby/rubygems-1.8.15  USE="server -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[ebuild  N     ]    dev-ruby/builder-3.0.0-r1  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 -ruby19" 
[ebuild  N     ]     virtual/rubygems-1  RUBY_TARGETS="(ruby18)" 
[ebuild  N     ]      dev-ruby/rubygems-1.8.15  USE="server -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[ebuild   R    ] dev-python/matplotlib-1.1.0  USE="doc* examples* fltk* gtk* tk* wxwidgets*" 
[ebuild  N     ]  dev-texlive/texlive-latexextra-2011-r2  USE="-doc -source" 
[ebuild  N     ]   dev-texlive/texlive-pictures-2011  USE="-doc -source" 
[ebuild  N     ]    dev-lang/ruby-1.9.3_p0  USE="berkdb gdbm ipv6 ncurses rdoc readline ssl tk yaml -debug -doc -examples -rubytests -socks5 -xemacs" 
[ebuild  N     ]  dev-python/pyfltk-1.3.0  USE="-doc" 
[ebuild  N     ]  dev-python/xlwt-0.7.2  USE="-examples" 
[ebuild  N     ]  dev-python/sphinx-1.1.2  USE="-doc -latex -test" 
[ebuild   R    ]   dev-lang/python-2.7.2-r3  USE="tk*" 
[ebuild  N     ]    dev-tcltk/blt-2.4z-r10  USE="X jpeg -static-libs" 
[ebuild  N     ]  app-text/dvipng-1.14  USE="truetype -t1lib -test" 
[ebuild  N     ]   virtual/texi2dvi-0 
[ebuild  N     ]    dev-texlive/texlive-texinfo-2011  USE="-doc -source" 
[ebuild  N     ]     dev-texlive/texlive-genericrecommended-2011  USE="-doc -source" 
[ebuild  N     ]    virtual/latex-base-1.0 
[ebuild  N     ]     dev-texlive/texlive-fontutils-2011  USE="-doc -source" 
[ebuild  N     ]  dev-python/ipython-0.12-r1  USE="qt4 readline smp sqlite -doc -emacs -examples -matplotlib -mongodb -notebook -test -wxwidgets" 
[ebuild  N     ]   dev-python/pyzmq-2.1.11  USE="-examples -test" 
[ebuild  N     ]    net-libs/zeromq-2.1.11  USE="-pgm -static-libs -test" 
[ebuild  N     ]   dev-python/simplegeneric-0.8 
[ebuild  N     ]   dev-python/decorator-3.3.2 
[ebuild  N     ]   dev-python/pexpect-2.4  USE="-doc -examples" 
[nomerge       ] dev-python/sphinx-1.1.2  USE="-doc -latex -test" 
[ebuild  N     ]  dev-python/jinja-2.6  USE="-doc -examples -i18n -vim-syntax" 
[ebuild  N     ]   dev-python/markupsafe-0.15 
[ebuild  N     ]  dev-python/docutils-0.8.1  USE="-glep" 
[nomerge       ] dev-ruby/builder-3.0.0-r1  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 -ruby19" 
[ebuild  N     ]  dev-lang/ruby-1.8.7_p357  USE="berkdb gdbm ipv6 ncurses readline ssl threads tk -debug -doc -examples -libedit -rubytests -socks5 -xemacs" 
[ebuild  N     ]   app-admin/eselect-ruby-20120106 
[nomerge       ] dev-ruby/json-1.6.4  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[ebuild  N     ]  dev-util/ragel-6.7  USE="-vim-syntax" 
[nomerge       ] dev-ruby/json-1.6.4  USE="-doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[nomerge       ]  dev-ruby/rake-0.9.2.2  USE="-bash-completion -doc -test" RUBY_TARGETS="ruby18 ruby19 -jruby -ree18" 
[nomerge       ]   dev-lang/ruby-1.9.3_p0  USE="berkdb gdbm ipv6 ncurses rdoc readline ssl tk yaml -debug -doc -examples -rubytests -socks5 -xemacs" 
[ebuild  N     ]    dev-libs/libyaml-0.1.4  USE="-doc -examples -static-libs -test" 
[nomerge       ] app-text/dvipng-1.14  USE="truetype -t1lib -test" 
[nomerge       ]  virtual/latex-base-1.0 
[ebuild  N     ]   dev-texlive/texlive-latexrecommended-2011  USE="-doc -source" 
[ebuild  N     ]    dev-texlive/texlive-latex-2011  USE="-doc -source" 
[nomerge       ] dev-python/sphinx-1.1.2  USE="-doc -latex -test" 
[ebuild  N     ]  dev-python/pygments-1.4  USE="-doc -test" 
[nomerge       ] dev-python/matplotlib-1.1.0  USE="doc* examples* fltk* gtk* tk* wxwidgets*" 
[ebuild  N     ]  dev-texlive/texlive-fontsrecommended-2011  USE="-doc -source" 

The following USE changes are necessary to proceed:
#required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/json-1.6.4[-test,-doc,ruby_targets_ruby18]
>=dev-ruby/racc-1.4.7 ruby_targets_ruby19
#required by virtual/rubygems-4, required by dev-ruby/json-1.6.4[-test,ruby_targets_ruby19], required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/racc-1.4.7[-test,-doc,ruby_targets_ruby19]
>=dev-ruby/rubygems-1.8.15 ruby_targets_ruby19
#required by dev-ruby/json-1.6.4[-test,-doc,ruby_targets_ruby18], required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rubygems-1.8.15[ruby_targets_ruby19], required by virtual/rubygems-1, required by dev-ruby/builder-3.0.0-r1
>=dev-ruby/rake-0.9.2.2 ruby_targets_ruby19
#required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/json-1.6.4[-test,-doc,ruby_targets_ruby18]
>=dev-ruby/rdoc-3.12 ruby_targets_ruby19
#required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p0[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/racc-1.4.7[-test,-doc,ruby_targets_ruby19]
>=dev-ruby/json-1.6.4 ruby_targets_ruby19
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-02-07 20:21:43 UTC
dev-python/matplotlib[doc] depends on dev-texlive/texlive-latexextra, which depends on dev-texlive/texlive-pictures, which depends on dev-lang/ruby.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-02-29 12:36:37 UTC
I would say that qualifies as INVALID or CANTFIX
Comment 3 Martin Mokrejš 2012-02-29 16:13:57 UTC
(In reply to comment #1)
> dev-python/matplotlib[doc] depends on dev-texlive/texlive-latexextra, which
> depends on dev-texlive/texlive-pictures, which depends on dev-lang/ruby.

I think either dev-python/matplotlib[doc] should force dev-python/matplotlib[+latex] or block if -latex. Then it would be clear.

Alternatively, dev-texlive/texlive-pictures should recognize USE=ruby and only if set woudl install the *.rb file. Why doesn't texlive-pictures RDEPEND on perl and tcl either?

I still this is way too much to install ruby if I want to install docs for matplotlib. I would be even tempted to say, lets pre-create the docs and place them on mirrors. Gentoo is about building binaries from sources. who cares about building docs from scratch if it required tons of extra packages?
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-03-01 21:38:02 UTC
(In reply to comment #3)

You can file a bug for dev-texlive/texlive-pictures.
Comment 5 Martin Mokrejš 2012-03-01 21:56:21 UTC
(In reply to comment #4)
> (In reply to comment #3)
> 
> You can file a bug for dev-texlive/texlive-pictures.

Opened bug #406489 .