summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-04-28 17:49:07 +0000
committerHans de Graaff <graaff@gentoo.org>2012-04-28 17:49:07 +0000
commit9022f996f07bd3c5185524b1824b4b3fa9eab2c9 (patch)
tree7b819f9b5629b5ab90de0d30b76f1b4715ff78da /dev-ruby/httpclient
parentppc stable #413117 (diff)
downloadgentoo-2-9022f996f07bd3c5185524b1824b4b3fa9eab2c9.tar.gz
gentoo-2-9022f996f07bd3c5185524b1824b4b3fa9eab2c9.tar.bz2
gentoo-2-9022f996f07bd3c5185524b1824b4b3fa9eab2c9.zip
Move test fixes forward to latest version.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/httpclient')
-rw-r--r--dev-ruby/httpclient/ChangeLog5
-rw-r--r--dev-ruby/httpclient/httpclient-2.2.4.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-ruby/httpclient/ChangeLog b/dev-ruby/httpclient/ChangeLog
index a7cc73cab801..e341a1d03420 100644
--- a/dev-ruby/httpclient/ChangeLog
+++ b/dev-ruby/httpclient/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/httpclient
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.35 2012/04/28 17:41:51 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/ChangeLog,v 1.36 2012/04/28 17:49:07 graaff Exp $
+
+ 28 Apr 2012; Hans de Graaff <graaff@gentoo.org> httpclient-2.2.4.ebuild:
+ Move test fixes forward to latest version.
28 Apr 2012; Hans de Graaff <graaff@gentoo.org> httpclient-2.2.2.ebuild:
Comment out test relying on specific DNS results, bug 395155.
diff --git a/dev-ruby/httpclient/httpclient-2.2.4.ebuild b/dev-ruby/httpclient/httpclient-2.2.4.ebuild
index f24375a9a040..7ce54888aed9 100644
--- a/dev-ruby/httpclient/httpclient-2.2.4.ebuild
+++ b/dev-ruby/httpclient/httpclient-2.2.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.2.4.ebuild,v 1.2 2011/12/14 18:49:16 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/httpclient/httpclient-2.2.4.ebuild,v 1.3 2012/04/28 17:49:07 graaff Exp $
EAPI=4
@@ -36,6 +36,13 @@ ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
all_ruby_prepare () {
rm Gemfile || die
sed -i -e '/[bB]undler/s:^:#:' Rakefile || die
+
+ # Comment out harmless test failures with ruby 1.8, bug 411191
+ sed -i -e '228,268 s:^:#:' test/test_http-access2.rb || die
+
+ # Comment out test requiring network access that makes assumptions
+ # about the environment, bug 395155
+ sed -i -e '/test_async_error/,/^ end/ s:^:#:' test/test_httpclient.rb || die
}
each_ruby_prepare() {