summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-01-23 12:11:07 +0000
committerHans de Graaff <graaff@gentoo.org>2011-01-23 12:11:07 +0000
commitb31e604ad24e8c9dee34b021b79960e59eb70bbc (patch)
treebc7d85db266fc2e38df7622e82d3aea5a2e78bbd /dev-ruby/facets
parentppc64 stable wrt #345745 (diff)
downloadgentoo-2-b31e604ad24e8c9dee34b021b79960e59eb70bbc.tar.gz
gentoo-2-b31e604ad24e8c9dee34b021b79960e59eb70bbc.tar.bz2
gentoo-2-b31e604ad24e8c9dee34b021b79960e59eb70bbc.zip
Fix missing test/unit inclusion, reported by xarthisius.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/facets')
-rw-r--r--dev-ruby/facets/ChangeLog8
-rw-r--r--dev-ruby/facets/facets-2.8.4-r1.ebuild8
-rw-r--r--dev-ruby/facets/files/facets-2.8.4-fix-tests.patch8
3 files changed, 20 insertions, 4 deletions
diff --git a/dev-ruby/facets/ChangeLog b/dev-ruby/facets/ChangeLog
index 6b4a4f8f945b..fdb101162236 100644
--- a/dev-ruby/facets/ChangeLog
+++ b/dev-ruby/facets/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/facets
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facets/ChangeLog,v 1.31 2010/11/07 05:39:26 graaff Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facets/ChangeLog,v 1.32 2011/01/23 12:11:07 graaff Exp $
+
+ 23 Jan 2011; Hans de Graaff <graaff@gentoo.org> facets-2.8.4-r1.ebuild,
+ +files/facets-2.8.4-fix-tests.patch:
+ Fix missing test/unit inclusion, reported by xarthisius.
07 Nov 2010; Hans de Graaff <graaff@gentoo.org> -facets-2.6.0.ebuild,
-facets-2.8.4.ebuild:
diff --git a/dev-ruby/facets/facets-2.8.4-r1.ebuild b/dev-ruby/facets/facets-2.8.4-r1.ebuild
index 5f67e734c847..81f03a61a9ec 100644
--- a/dev-ruby/facets/facets-2.8.4-r1.ebuild
+++ b/dev-ruby/facets/facets-2.8.4-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facets/facets-2.8.4-r1.ebuild,v 1.1 2010/07/04 12:39:32 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facets/facets-2.8.4-r1.ebuild,v 1.2 2011/01/23 12:11:07 graaff Exp $
EAPI=2
+# ree18 -> test failure on hash ordering
+# jruby -> many failures and jruby crash
USE_RUBY="ruby18"
RUBY_FAKEGEM_EXTRADOC="AUTHORS HISTORY.rdoc NOTES README.rdoc demo/hook.rdoc demo/scenario_require.rdoc"
@@ -19,5 +21,7 @@ KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-
IUSE=""
all_ruby_prepare() {
+ epatch "${FILESDIR}/${P}-fix-tests.patch"
+
mkdir -p doc/rdoc || die "Unable to make directory for documentation."
}
diff --git a/dev-ruby/facets/files/facets-2.8.4-fix-tests.patch b/dev-ruby/facets/files/facets-2.8.4-fix-tests.patch
new file mode 100644
index 000000000000..26df0a1025bd
--- /dev/null
+++ b/dev-ruby/facets/files/facets-2.8.4-fix-tests.patch
@@ -0,0 +1,8 @@
+--- test/core/unboundmethod/test_arguments.rb.~1~ 2011-01-23 12:39:57.721680315 +0100
++++ test/core/unboundmethod/test_arguments.rb 2011-01-23 13:03:36.583697764 +0100
+@@ -1,4 +1,5 @@
+ require 'facets/unboundmethod/arguments'
++require 'test/unit'
+
+ class Test_UnboundMethod_Arguments < Test::Unit::TestCase
+