summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-07-20 10:04:23 +0000
committerHans de Graaff <graaff@gentoo.org>2011-07-20 10:04:23 +0000
commit0a0635cf9a6c1a95fc57a406e35d1c3545e82249 (patch)
treeee7c8b73ff06c901863e437ee2a8e6dc22d2b68b /dev-ruby/locale
parentEAPI=2, cleanup (diff)
downloadgentoo-2-0a0635cf9a6c1a95fc57a406e35d1c3545e82249.tar.gz
gentoo-2-0a0635cf9a6c1a95fc57a406e35d1c3545e82249.tar.bz2
gentoo-2-0a0635cf9a6c1a95fc57a406e35d1c3545e82249.zip
Don't run known-to-be-broken test on jruby in preparation for stabilization.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/locale')
-rw-r--r--dev-ruby/locale/ChangeLog5
-rw-r--r--dev-ruby/locale/locale-2.0.5-r2.ebuild14
2 files changed, 17 insertions, 2 deletions
diff --git a/dev-ruby/locale/ChangeLog b/dev-ruby/locale/ChangeLog
index 1c306c353905..112c83c2b288 100644
--- a/dev-ruby/locale/ChangeLog
+++ b/dev-ruby/locale/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/locale
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/ChangeLog,v 1.23 2011/04/10 20:53:19 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/ChangeLog,v 1.24 2011/07/20 10:04:23 graaff Exp $
+
+ 20 Jul 2011; Hans de Graaff <graaff@gentoo.org> locale-2.0.5-r2.ebuild:
+ Don't run known-to-be-broken test on jruby in preparation for stabilization.
*locale-2.0.5-r2 (10 Apr 2011)
diff --git a/dev-ruby/locale/locale-2.0.5-r2.ebuild b/dev-ruby/locale/locale-2.0.5-r2.ebuild
index d0bdb303b97a..b3729db727c6 100644
--- a/dev-ruby/locale/locale-2.0.5-r2.ebuild
+++ b/dev-ruby/locale/locale-2.0.5-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/locale-2.0.5-r2.ebuild,v 1.1 2011/04/10 20:53:19 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/locale/locale-2.0.5-r2.ebuild,v 1.2 2011/07/20 10:04:23 graaff Exp $
EAPI=2
@@ -26,6 +26,18 @@ ruby_add_bdepend "test? ( || ( virtual/ruby-test-unit dev-ruby/test-unit:2 ) )"
RUBY_PATCHES=( "${FILESDIR}/${PN}-language-fixes.patch" )
+each_ruby_prepare() {
+ case ${RUBY} in
+ *jruby)
+ # Remove broken test. It's not clear if the test or code is
+ # broken... https://github.com/mutoh/locale/issues/2
+ rm test/test_detect_general.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}
+
all_ruby_install() {
all_fakegem_install