summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-08-13 08:38:04 +0000
committerHans de Graaff <graaff@gentoo.org>2011-08-13 08:38:04 +0000
commit796e067100ecbae8c1f629be8995e45fab99c831 (patch)
treeb49cd5327c0ab26e2a7b00d4f3fa9b1b3c749cfb /dev-ruby
parentppc stable wrt #343479 (diff)
downloadhistorical-796e067100ecbae8c1f629be8995e45fab99c831.tar.gz
historical-796e067100ecbae8c1f629be8995e45fab99c831.tar.bz2
historical-796e067100ecbae8c1f629be8995e45fab99c831.zip
Fix broken tests, bug 323423.
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/snmplib/ChangeLog7
-rw-r--r--dev-ruby/snmplib/Manifest12
-rw-r--r--dev-ruby/snmplib/snmplib-1.0.3.ebuild12
3 files changed, 21 insertions, 10 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/Manifest b/dev-ruby/snmplib/Manifest
index 24315da7dee0..fc0fed4078d0 100644
--- a/dev-ruby/snmplib/Manifest
+++ b/dev-ruby/snmplib/Manifest
@@ -4,13 +4,13 @@ Hash: SHA256
DIST snmp-1.0.2.gem 167424 RMD160 1b855d8b712716f1013cde1159fcfc26c990c51a SHA1 eccf76543fba3b15250b2fbe605fd9db6b6589f9 SHA256 20a0a2be4e74e04d2d796dd5cc2d91bf0b4fa0b52ffc23453ac619602316d82d
DIST snmp-1.0.3.gem 167424 RMD160 69c237a997b6a60be5a3e43932067964fbc113cd SHA1 d9017f7fc093a388330c2c118b3ffde2e75eef2c SHA256 bcb2d8e86196ffb86a570ca2b3cdb8a221756121ba61bd104a964c22c6209ece
EBUILD snmplib-1.0.2.ebuild 483 RMD160 159f6652ca2b2275f44abfc695b9dc6330da1f48 SHA1 8172a195e3e894676613f229c7913d200ea39596 SHA256 ede9581ad58b9d21f18a5783111df440134d3483d9115aa16a67c6703af9eabf
-EBUILD snmplib-1.0.3.ebuild 694 RMD160 58876beecf2b7ab9a4dc59c742043059e6ffaa1c SHA1 30646ca389f2f4bd5c28342bcebbbcb715de6001 SHA256 43d93653f128c4492a2db7f53411a24175954d2a60b9c5a9555a561e33d13ece
-MISC ChangeLog 3675 RMD160 f8c42b9c738335d172d2e07eb550e182da052f1c SHA1 31ec10dec848a4e2c507236a554e58bd7c78338d SHA256 2f1c4348b174ba8912f59e4b3327ad5cae9571b975f13a75c3d7573eac4f27fa
+EBUILD snmplib-1.0.3.ebuild 932 RMD160 2ad44b3b60837c8c7b2190ff91af1e7c7d6f443a SHA1 c7fdd6cfa3703fcb17d59f9d1040e0f139f87d1a SHA256 07d86881c836bda7fadf982ccb41b1ccbe98dff66cc7ff4d7f6e462f39df2ff1
+MISC ChangeLog 3780 RMD160 75b606c61e1c73256b8c8bd565dd8d91f323aaeb SHA1 9f9390316d5b16782921197135df81acecbc7a9a SHA256 623a6e2fc550cabefe791fe91180d296cf2fe9d65b3bf7c76f099e9bf79dd1ae
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAkw2IdQACgkQZihJkut28SuyGQEAky04+GKKVIvQUtNF3T9O5Xgn
-tpZur9r8SPY314kZRisBAJNDjxRKnURiGOtHxSMmoeRJ1G7SKOI+2094PjlDcY6x
-=4NEX
+iF4EAREIAAYFAk5GN/cACgkQiIP6VqMIqNdV8gD/d6DNgjgEh+nTRBCbGEIqCczd
+75Zn4hlH0L7Qi189nr4A+wSjOhNapD+UumWDVLu/vna8lA+KkF8tMlMoMZupN9Hi
+=kLLv
-----END PGP SIGNATURE-----
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