diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-08-13 08:38:04 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-08-13 08:38:04 +0000 |
commit | 83e4b490792d2644c111c6d5516ddf37c53200ef (patch) | |
tree | fcfce82ca607ce68d9e5bee76fe0cb681983b601 | |
parent | ppc stable wrt #343479 (diff) | |
download | gentoo-2-83e4b490792d2644c111c6d5516ddf37c53200ef.tar.gz gentoo-2-83e4b490792d2644c111c6d5516ddf37c53200ef.tar.bz2 gentoo-2-83e4b490792d2644c111c6d5516ddf37c53200ef.zip |
Fix broken tests, bug 323423.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
-rw-r--r-- | dev-ruby/snmplib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/snmplib/snmplib-1.0.3.ebuild | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/dev-ruby/snmplib/ChangeLog b/dev-ruby/snmplib/ChangeLog index ed4732bf42bc..07033eaf34fd 100644 --- a/dev-ruby/snmplib/ChangeLog +++ b/dev-ruby/snmplib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/snmplib -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/ChangeLog,v 1.28 2010/07/08 19:06:54 graaff Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/ChangeLog,v 1.29 2011/08/13 08:38:04 graaff Exp $ + + 13 Aug 2011; Hans de Graaff <graaff@gentoo.org> snmplib-1.0.3.ebuild: + Fix broken tests, bug 323423. 08 Jul 2010; Hans de Graaff <graaff@gentoo.org> snmplib-1.0.3.ebuild: Use RUBY_FAKEGEM_NAME diff --git a/dev-ruby/snmplib/snmplib-1.0.3.ebuild b/dev-ruby/snmplib/snmplib-1.0.3.ebuild index d3050a38c36b..b1115e0807de 100644 --- a/dev-ruby/snmplib/snmplib-1.0.3.ebuild +++ b/dev-ruby/snmplib/snmplib-1.0.3.ebuild @@ -1,6 +1,6 @@ -# 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/snmplib/snmplib-1.0.3.ebuild,v 1.2 2010/07/08 19:06:54 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/snmplib-1.0.3.ebuild,v 1.3 2011/08/13 08:38:04 graaff Exp $ EAPI=2 USE_RUBY="ruby18" @@ -22,8 +22,16 @@ KEYWORDS="~amd64 ~ia64 ~ppc ~x86" LICENSE="Ruby" SLOT="0" + ruby_add_bdepend "test? ( virtual/ruby-test-unit )" +all_ruby_prepare() { + # Use the fully qualified class name to avoid problems with other + # Integer class definitions. Should fix + # https://bugs.gentoo.org/show_bug.cgi?id=323423 + sed -i -e 's/\sInteger/ SNMP::Integer/' test/* || die +} + all_ruby_install() { all_fakegem_install |