summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-05-16 18:26:19 +0000
committerHans de Graaff <graaff@gentoo.org>2011-05-16 18:26:19 +0000
commitc43d5b7e2c99b56520a2141d24a310f6808e6898 (patch)
tree249bca9c9366c8f24ac9af88f65cc57de95d2dae /dev-ruby
parentDon't remove racc files since all other ruby targets ship these files themsel... (diff)
downloadhistorical-c43d5b7e2c99b56520a2141d24a310f6808e6898.tar.gz
historical-c43d5b7e2c99b56520a2141d24a310f6808e6898.tar.bz2
historical-c43d5b7e2c99b56520a2141d24a310f6808e6898.zip
Update ruby19 patch to fix tests for ruby19. Thanks to Nathan Phillip Brink in bug 340783.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/fakefs/ChangeLog7
-rw-r--r--dev-ruby/fakefs/Manifest14
-rw-r--r--dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch28
3 files changed, 37 insertions, 12 deletions
diff --git a/dev-ruby/fakefs/ChangeLog b/dev-ruby/fakefs/ChangeLog
index 923ea8b55a7c..7a153c8c1248 100644
--- a/dev-ruby/fakefs/ChangeLog
+++ b/dev-ruby/fakefs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/fakefs
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.17 2011/04/16 17:25:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.18 2011/05/16 18:26:19 graaff Exp $
+
+ 16 May 2011; Hans de Graaff <graaff@gentoo.org>
+ files/fakefs-0.2.1-ruby19.patch:
+ Update ruby19 patch to fix tests for ruby19. Thanks to Nathan Phillip Brink
+ in bug 340783.
16 Apr 2011; Raúl Porcel <armin76@gentoo.org> fakefs-0.2.1.ebuild:
ia64 stable wrt #356269
diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest
index cd9622285eda..a52dbe3bf709 100644
--- a/dev-ruby/fakefs/Manifest
+++ b/dev-ruby/fakefs/Manifest
@@ -1,16 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX fakefs-0.2.1-ruby19.patch 302 RMD160 9c051ec5bd537e6cc862a65e2bfcd03ae8720e19 SHA1 c6f3b0bf98da0543f8c00fd27ffd30aa1d777a7f SHA256 bb188fdf537e748c0e7a55688622ecdf0a0ed96ffe7372a731d857ec4e4fa4a0
+AUX fakefs-0.2.1-ruby19.patch 707 RMD160 f0bf05202c07e6b1170904a9effd5fe8143db198 SHA1 eceae253cf102fb5ee011c3048156c8dc6a4c2a6 SHA256 1c63a39d47c862a3a925efd848330898d33572b128355ded235b9e6c16691211
DIST fakefs-0.2.1.gem 17408 RMD160 0d15c94d7d5864ad72abbcc5509f3eb720de2974 SHA1 7181b2dfaa1b81149ec59cf065577a31d16f7b8e SHA256 1acb4fb80abee462b4c58679bf8d528a9094f79a81ece4c91e7647d6e853517f
EBUILD fakefs-0.2.1-r1.ebuild 816 RMD160 9ae876e46a8f0beb96ef0d702bd6e0dea9a26b1e SHA1 bd5198b6efac2d91b6728eec38a70a0c40c715be SHA256 db807e1991797343260b37021561c3a309b6524356037aabea57b7a552a11f63
EBUILD fakefs-0.2.1.ebuild 719 RMD160 36e8872e22161394653084a4d092b22ac4c0fa73 SHA1 28e48b05a478dbbb1774df0f792b8acc0bbe29d5 SHA256 5a99b35a4673dce69c2d3bced70edeee54834738c7e8bac8851757902b6ce3e4
-MISC ChangeLog 2154 RMD160 780b31280779ec064ff53688c809049bacbfea6c SHA1 c2c29488deadda8603253bcb7818199ee688d859 SHA256 1561cc5200af5af6f304cb4e6f9af560cc026097dcd642305276249c277ea0ff
+MISC ChangeLog 2334 RMD160 ecb56d3ff0d495be00a2a96a1610c33882aca1a6 SHA1 c36dc03a994912ed8ad2459758647f1245605f16 SHA256 682b4dd836276ecbb3b3d14229db6d9bdddc2348c17bc72e900f6c0b343394ed
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2p0P0ACgkQuQc30/atMkBLMgCgt+Hi2W6MBqnfnHqTjxACAHIA
-1z4An2Ycr7XurYrMIE813P92Q6DWa+Bg
-=xS5k
+iF4EAREIAAYFAk3RbFEACgkQrnu0mw69JkpuMAD9Eu5nYQppd72zeAaE7fn5TPdI
+x18jjHerD9omplRdiJAA/iqx3d8jv4RJ2GQQ5RsChw3jtddKtfQy9WMrnOPeOKJH
+=f+yU
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch b/dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch
index a4c742d3cc20..dcc7a2112f45 100644
--- a/dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch
+++ b/dev-ruby/fakefs/files/fakefs-0.2.1-ruby19.patch
@@ -1,10 +1,30 @@
-Index: fakefs-0.2.1/lib/fakefs/file.rb
-===================================================================
---- fakefs-0.2.1.orig/lib/fakefs/file.rb
-+++ fakefs-0.2.1/lib/fakefs/file.rb
+--- a/lib/fakefs/file.rb
++++ b/lib/fakefs/file.rb
@@ -1,3 +1,5 @@
+require 'stringio' unless defined? StringIO
+
module FakeFS
class File
PATH_SEPARATOR = '/'
+
+The following Rakefile change extracted from https://github.com/defunkt/fakefs/commit/82db05e85d1a486fbdb6:
+
+--- a/Rakefile
++++ b/Rakefile
+@@ -1,2 +1,4 @@
++$LOAD_PATH.unshift File.join(File.dirname(__FILE__))
++
+ desc "Run tests"
+ task :test do
+
+--- a/test/fakefs_test.rb
++++ b/test/fakefs_test.rb
+@@ -288,7 +288,7 @@
+ assert_nil File.size?("/path/to/other.txt")
+ end
+
+- def test_can_check_size?_of_empty_file
++ def test_can_check_size_of_empty_file
+ path = '/path/to/file.txt'
+ File.open(path, 'w') do |f|
+ f << ''