Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478178 - dev-ruby/rdoc - add RUBY_TARGETS=ruby20 support
Summary: dev-ruby/rdoc - add RUBY_TARGETS=ruby20 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-07-25 20:42 UTC by Alexey Shvetsov
Modified: 2013-09-10 18:39 UTC (History)
1 user (show)

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


Attachments
rdoc-4.0.1-r1.ebuild.patch (rdoc-4.0.1-r1.ebuild.patch,589 bytes, patch)
2013-07-25 20:42 UTC, Alexey Shvetsov
Details | Diff
rubygems-2.0.3.ebuild.patch (rubygems-2.0.3.ebuild.patch,649 bytes, patch)
2013-07-25 21:19 UTC, Alexey Shvetsov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2013-07-25 20:42:45 UTC
Created attachment 354214 [details, diff]
rdoc-4.0.1-r1.ebuild.patch

if i only enable ruby20 target i'll get broken dep tree like this 
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-ruby/json-1.8.0[-doc,-test,ruby_targets_ruby19]
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by virtual/rubygems-4
# required by dev-ruby/racc-1.4.9[-test,ruby_targets_ruby19]
>=dev-ruby/rake-0.9.6 ruby_targets_ruby19
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby19]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by virtual/rubygems-4
# required by dev-ruby/json-1.8.0[-test,ruby_targets_ruby19]
# required by dev-lang/ruby-2.0.0_p247
# required by dev-ruby/rubygems-2.0.3[ruby_targets_ruby19]
# required by virtual/rubygems-6
# required by dev-ruby/rake-0.9.6
>=dev-ruby/racc-1.4.9 ruby_targets_ruby19
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by virtual/rubygems-4
# required by dev-ruby/racc-1.4.9[-test,ruby_targets_ruby19]
>=dev-ruby/rdoc-4.0.1-r1 ruby_targets_ruby19
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby19]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by virtual/rubygems-4
# required by dev-ruby/racc-1.4.9[-test,ruby_targets_ruby19]
>=dev-ruby/json-1.8.0 ruby_targets_ruby19
# required by dev-lang/ruby-1.9.3_p448
# required by virtual/rubygems-4
# required by dev-ruby/racc-1.4.9[-test,ruby_targets_ruby19]
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby19]
# required by dev-lang/ruby-2.0.0_p247[rdoc]
# required by dev-ruby/rake-0.9.6[ruby_targets_ruby20]
# required by dev-ruby/json-1.8.0[-doc,-test,ruby_targets_ruby19]
>=dev-ruby/rubygems-2.0.3 ruby_targets_ruby19
Comment 1 Alexey Shvetsov archtester gentoo-dev 2013-07-25 21:19:53 UTC
Created attachment 354216 [details, diff]
rubygems-2.0.3.ebuild.patch
Comment 2 Hans de Graaff gentoo-dev Security 2013-08-05 18:09:13 UTC
These patches should not be needed since each ebuild already depends on ruby:2.0. The dependencies for the other ruby targets are there only because we want specific versions of each ruby interpreter. That is not the case for ruby20.

From your bug description it is not clear to me what the problem is. The portage output you have included does not show the actual problem.

Also note that using ruby20-only is currently not a practical thing to do since only very few packages are currently marked for ruby20.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-04 16:08:40 UTC
*** Bug 483596 has been marked as a duplicate of this bug. ***
Comment 4 Hans de Graaff gentoo-dev Security 2013-09-05 06:05:51 UTC
Note that the problem originally reported is now fixed by requiring ruby20 for these packages.