summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-08-19 18:27:01 +0000
committerHans de Graaff <graaff@gentoo.org>2012-08-19 18:27:01 +0000
commitd6c7155267944092c26216113a0b577239a25381 (patch)
tree757701e5b959a978a8466f0b6501fbe4b6abf354 /dev-ruby/rake
parentFixed whitespace minorsyn. (diff)
downloadgentoo-2-d6c7155267944092c26216113a0b577239a25381.tar.gz
gentoo-2-d6c7155267944092c26216113a0b577239a25381.tar.bz2
gentoo-2-d6c7155267944092c26216113a0b577239a25381.zip
Avoid tests that cannot work during bootstrap, fixing bug 430614.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r--dev-ruby/rake/ChangeLog5
-rw-r--r--dev-ruby/rake/rake-0.9.2.2.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-ruby/rake/ChangeLog b/dev-ruby/rake/ChangeLog
index bfdd509f8e9f..13e57ede0c96 100644
--- a/dev-ruby/rake/ChangeLog
+++ b/dev-ruby/rake/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/rake
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.125 2012/07/25 20:29:54 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.126 2012/08/19 18:27:01 graaff Exp $
+
+ 19 Aug 2012; Hans de Graaff <graaff@gentoo.org> rake-0.9.2.2.ebuild:
+ Avoid tests that cannot work during bootstrap, fixing bug 430614.
25 Jul 2012; Anthony G. Basile <blueness@gentoo.org> rake-0.8.7-r6.ebuild:
Stable ppc64, bug #411507
diff --git a/dev-ruby/rake/rake-0.9.2.2.ebuild b/dev-ruby/rake/rake-0.9.2.2.ebuild
index 0fbf20a2b084..0c785b8edd99 100644
--- a/dev-ruby/rake/rake-0.9.2.2.ebuild
+++ b/dev-ruby/rake/rake-0.9.2.2.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/rake/rake-0.9.2.2.ebuild,v 1.7 2012/07/18 02:17:38 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-0.9.2.2.ebuild,v 1.8 2012/08/19 18:27:01 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ree18 ruby19 jruby"
@@ -30,6 +30,11 @@ all_ruby_prepare() {
# Comment out unimportant test which failes on ruby18 at least.
sed -i -e '/def test_classic_namespace/,/^ end/ s:^:#:' test/test_rake_application_options.rb || die
+ # Avoid tests which can't work in bootstrapping because the test runs
+ # in a directory that can't access the file being loaded.
+ rm test/test_rake_clean.rb || die
+ sed -i -e '/test_run_code_rake/,/^ end/ s:^:#:' test/test_rake_test_task.rb || die
+
# Decompress the file. The compressed version has errors, ignore them.
zcat doc/rake.1.gz > doc/rake.1
}