summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-08-01 05:44:28 +0000
committerHans de Graaff <graaff@gentoo.org>2012-08-01 05:44:28 +0000
commit2b2f06bb009e78b93a39c5be6b1a2bf49b899586 (patch)
tree9260092cee0155ef22965026fb89c0deb60e45be /dev-ruby/tins
parentCleanup. (diff)
downloadgentoo-2-2b2f06bb009e78b93a39c5be6b1a2bf49b899586.tar.gz
gentoo-2-2b2f06bb009e78b93a39c5be6b1a2bf49b899586.tar.bz2
gentoo-2-2b2f06bb009e78b93a39c5be6b1a2bf49b899586.zip
Avoid test broken with FEATURES=-userpriv, fixing bug 428704.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/tins')
-rw-r--r--dev-ruby/tins/ChangeLog5
-rw-r--r--dev-ruby/tins/tins-0.3.14.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-ruby/tins/ChangeLog b/dev-ruby/tins/ChangeLog
index aa5e997106af..731a4ddb9245 100644
--- a/dev-ruby/tins/ChangeLog
+++ b/dev-ruby/tins/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/tins
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/ChangeLog,v 1.8 2012/07/30 00:20:08 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/ChangeLog,v 1.9 2012/08/01 05:44:28 graaff Exp $
+
+ 01 Aug 2012; Hans de Graaff <graaff@gentoo.org> tins-0.3.14.ebuild:
+ Avoid test broken with FEATURES=-userpriv, fixing bug 428704.
30 Jul 2012; Jeff Horelick <jdhore@gentoo.org> tins-0.3.14.ebuild:
marked x86 per bug 428454
diff --git a/dev-ruby/tins/tins-0.3.14.ebuild b/dev-ruby/tins/tins-0.3.14.ebuild
index 8b525416fc62..41942cbcdbc3 100644
--- a/dev-ruby/tins/tins-0.3.14.ebuild
+++ b/dev-ruby/tins/tins-0.3.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/tins-0.3.14.ebuild,v 1.2 2012/07/30 00:20:08 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tins/tins-0.3.14.ebuild,v 1.3 2012/08/01 05:44:28 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ruby19 ree18 jruby"
@@ -24,6 +24,10 @@ ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.3 ) "
all_ruby_prepare() {
sed -i -e '/gem_hadar/ s:^:#:' tests/test_helper.rb || die
+
+ # Avoid test that fails with FEATURES=-userpriv, similar to newer
+ # tins. See bug 428704.
+ sed -i -e 's:RUBY_PLATFORM !~ /java/:false:' tests/find_test.rb || die
}
each_ruby_test() {