Summary: | dev-ruby/hoe-2.8.0 tests depends on dev-ruby/hoe-seattlerb | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joshua Pettett <bugs.gentoo.devel> |
Component: | New packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | hoe-2.8.0 ebuild patch to include hoe-seattlerb dependency for tests |
Thanks for the report. I have opted to 'fix' this by restricting the tests on hoe 2.8.0. Since hoe-seattlerb is not marked stable on all arches it can't just be added to the hoe-2.8.0 ebuild, and since newer versions of hoe don't need this dependency even for testing this seemed like the solution with the lowest impact. |
Created attachment 274537 [details] hoe-2.8.0 ebuild patch to include hoe-seattlerb dependency for tests Emerging hoe-2.8.0 with FEATURES="test" fails as seen below. Emerging dev-ruby/hoe-seattlerb first allows tests to pass. Attaching tested ebuild patch that includes dependency. * Running test phase for ruby18 ... (in /var/tmp/portage/dev-ruby/hoe-2.8.0/work/ruby18/hoe-2.8.0) warning: couldn't activate the seattlerb plugin, skipping /usr/bin/ruby18 -w -I../../minitest/dev/lib:lib:bin:test:. -e 'require "rubygems"; require "test/unit"; require "test/test_hoe_gemcutter.rb"; require "test/test_hoe.rb"' -- /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing': uninitialized constant MiniTest (NameError) from ./test/test_hoe_gemcutter.rb:4 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from -e:1 rake aborted! Command failed with status (1): [/usr/bin/ruby18 -w -I../../minitest/dev/li...]