* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdoc/files/, dev-ruby/rdoc/
@ 2015-08-24 5:03 Jeroen Roovers
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2015-08-24 5:03 UTC (permalink / raw
To: gentoo-commits
commit: b47345e1d6335daf01193fbebb195853916e4d21
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 04:59:23 2015 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 05:02:50 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b47345e1
dev-ruby/rdoc: Stable for HPPA PPC64 (bug #518094).
Package-Manager: portage-2.2.20.1
.../rdoc/files/rdoc-fix-hash-ordering-tests.patch | 88 ----------------------
dev-ruby/rdoc/rdoc-4.0.1-r2.ebuild | 2 +-
2 files changed, 1 insertion(+), 89 deletions(-)
diff --git a/dev-ruby/rdoc/files/rdoc-fix-hash-ordering-tests.patch b/dev-ruby/rdoc/files/rdoc-fix-hash-ordering-tests.patch
deleted file mode 100644
index 95adfd1..0000000
--- a/dev-ruby/rdoc/files/rdoc-fix-hash-ordering-tests.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-commit 2d606b3ca1378edf1c42ad58877c9bdaabf79480
-Author: Eric Hodel <drbrain@segment7.net>
-Date: Sun Mar 11 18:00:21 2012 -0700
-
- Fix hash-order-dependent tests
-
-diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb
-index a3ca813..149a808 100644
---- a/lib/rdoc/ri/driver.rb
-+++ b/lib/rdoc/ri/driver.rb
-@@ -723,7 +723,7 @@ Options may also be set in the 'RI' environment variable.
- page do |io|
- io.puts "#{name} not found, maybe you meant:"
- io.puts
-- io.puts matches.join("\n")
-+ io.puts matches.sort.join("\n")
- end
-
- false
-diff --git a/test/test_rdoc_context.rb b/test/test_rdoc_context.rb
-index 192a287..52f579c 100644
---- a/test/test_rdoc_context.rb
-+++ b/test/test_rdoc_context.rb
-@@ -340,7 +340,7 @@ class TestRDocContext < XrefTestCase
-
- def test_classes
- assert_equal %w[C2::C3], @c2.classes.map { |k| k.full_name }
-- assert_equal %w[C3::H1 C3::H2], @c3.classes.map { |k| k.full_name }
-+ assert_equal %w[C3::H1 C3::H2], @c3.classes.map { |k| k.full_name }.sort
- end
-
- def test_current_section
-diff --git a/test/test_rdoc_parser_ruby.rb b/test/test_rdoc_parser_ruby.rb
-index 1ff6f4d..18964f9 100644
---- a/test/test_rdoc_parser_ruby.rb
-+++ b/test/test_rdoc_parser_ruby.rb
-@@ -701,7 +701,7 @@ end
-
- @parser.parse_class @top_level, false, @parser.get_tk, @comment
-
-- assert_equal %w[A B], RDoc::TopLevel.classes.map { |c| c.full_name }
-+ assert_equal %w[A B], RDoc::TopLevel.classes.map { |c| c.full_name }.sort
- end
-
- def test_parse_class_single
-@@ -720,10 +720,12 @@ end
-
- @parser.parse_class @top_level, false, @parser.get_tk, @comment
-
-- assert_equal %w[A], RDoc::TopLevel.classes.map { |c| c.full_name }
-- assert_equal %w[A::B A::d], RDoc::TopLevel.modules.map { |c| c.full_name }
-+ assert_equal %w[A], RDoc::TopLevel.classes.map { |c| c.full_name }
-
-- b = RDoc::TopLevel.modules.first
-+ modules = RDoc::TopLevel.modules.sort_by { |c| c.full_name }
-+ assert_equal %w[A::B A::d], modules.map { |c| c.full_name }
-+
-+ b = modules.first
- assert_equal 10, b.offset
- assert_equal 2, b.line
-
-@@ -1851,10 +1853,10 @@ end
-
- @parser.parse_statements @top_level
-
-- date, date_time = @top_level.classes
-+ date, date_time = @top_level.classes.sort_by { |c| c.full_name }
-
- date_now = date.method_list.first
-- date_time_now = date_time.method_list.first
-+ date_time_now = date_time.method_list.sort_by { |m| m.full_name }.first
-
- assert_equal :private, date_now.visibility
- assert_equal :public, date_time_now.visibility
-@@ -1876,10 +1878,11 @@ end
-
- @parser.parse_statements @top_level
-
-- date, date_time = @top_level.classes
-+ # TODO sort classes by default
-+ date, date_time = @top_level.classes.sort_by { |c| c.full_name }
-
- date_now = date.method_list.first
-- date_time_now = date_time.method_list.first
-+ date_time_now = date_time.method_list.sort_by { |m| m.full_name }.first
-
- assert_equal :public, date_now.visibility, date_now.full_name
- assert_equal :private, date_time_now.visibility, date_time_now.full_name
diff --git a/dev-ruby/rdoc/rdoc-4.0.1-r2.ebuild b/dev-ruby/rdoc/rdoc-4.0.1-r2.ebuild
index 20ff419..c7864de 100644
--- a/dev-ruby/rdoc/rdoc-4.0.1-r2.ebuild
+++ b/dev-ruby/rdoc/rdoc-4.0.1-r2.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/rdoc/rdoc/"
LICENSE="Ruby MIT"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_bdepend "
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-24 5:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24 5:03 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rdoc/files/, dev-ruby/rdoc/ Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox