diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-05-20 18:28:15 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-05-20 18:28:15 +0000 |
commit | f0350549663db9af096b310cf1c422f23b78a148 (patch) | |
tree | 45de72ea7eac4229f23d68628392ea5b22d8400e /dev-ruby/fakefs | |
parent | Keyword for arm since the underlying implementation is keyworded already. (diff) | |
download | historical-f0350549663db9af096b310cf1c422f23b78a148.tar.gz historical-f0350549663db9af096b310cf1c422f23b78a148.tar.bz2 historical-f0350549663db9af096b310cf1c422f23b78a148.zip |
Add jruby but ignore some tests similar to upstream. Needed for newer rspec:2 versions.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/fakefs')
-rw-r--r-- | dev-ruby/fakefs/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/fakefs/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild | 15 |
3 files changed, 23 insertions, 8 deletions
diff --git a/dev-ruby/fakefs/ChangeLog b/dev-ruby/fakefs/ChangeLog index 0fb508ce4510..4e8ffa41d642 100644 --- a/dev-ruby/fakefs/ChangeLog +++ b/dev-ruby/fakefs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/fakefs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.22 2012/01/06 07:35:54 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/ChangeLog,v 1.23 2012/05/20 18:28:15 graaff Exp $ + + 20 May 2012; Hans de Graaff <graaff@gentoo.org> fakefs-0.4.0-r1.ebuild: + Add jruby but ignore some tests similar to upstream. Needed for newer rspec:2 + versions. *fakefs-0.4.0-r1 (06 Jan 2012) diff --git a/dev-ruby/fakefs/Manifest b/dev-ruby/fakefs/Manifest index 4afd56d5d356..34272d6030d0 100644 --- a/dev-ruby/fakefs/Manifest +++ b/dev-ruby/fakefs/Manifest @@ -10,13 +10,13 @@ DIST fakefs-0.2.1.gem 17408 RMD160 0d15c94d7d5864ad72abbcc5509f3eb720de2974 SHA1 DIST fakefs-0.4.0.gem 24064 RMD160 a58f0fb1f963c47fd318611c64afe996e7c4a7a1 SHA1 2a1a34ec200650b1cdfa04778f251c967248138c SHA256 d5e26fc81facfdcdb5b31732358c6b3d86c8b53c91e2359b9d5b1cc68665b00a EBUILD fakefs-0.2.1-r1.ebuild 824 RMD160 8d4a746294f5069096ffd6549771f9ef7755e10e SHA1 942cec74a60859c3c69c0ac2c4849f38ee85ed3b SHA256 d6381365fbc975e63b2d8bbee700168d2db6cd9a18fc44b05baf62ec5123011a EBUILD fakefs-0.2.1.ebuild 713 RMD160 d39f556881de25441b0d1d6fb3dd53888e91a297 SHA1 75dc0e3c4c5ea4dc557c8f14da35e6f1ba3a9dd7 SHA256 f282dde87205847b92def2b4e274ee7554a54740e09ae684af694d74259bddaf -EBUILD fakefs-0.4.0-r1.ebuild 1101 RMD160 4bb76ddbdf8ced6fc170244d412726d3fc1cfcbd SHA1 316f45d9c67b9dc9619bd795ae2965bef1bb907f SHA256 b3140eb0b942a4dd627690f8fcdcf5b616494555e0799fabf0e647c2ffc903e6 -MISC ChangeLog 2978 RMD160 413775797d1c09313c52aabe7593be01bc081b56 SHA1 ebb10d439188782e09b2451fd33fcf98ac315006 SHA256 b85e8588df3d8393b48483111466c1e1afc8b59be1ea2ee35677254f51de4643 +EBUILD fakefs-0.4.0-r1.ebuild 1294 RMD160 3324ba25a5a2907dbc8aaa33ca3321170a24b6e6 SHA1 f5c79c1b5b105d7555ec1034049e352b28263ed3 SHA256 633d6e8acdfe3a512df7096f9592dec1c16ca620e2fc16f86067d06ea2a3c92e +MISC ChangeLog 3145 RMD160 5ae27634f99631d1a98f74464659c803ae817a6e SHA1 4df8551c714372eee2d38ccf693be74aab254804 SHA256 b50b67ac1b4bb7a24a3049ac22a9aaa935639e414835528725ee89d4f6af7957 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk8GpGUACgkQiIP6VqMIqNcnWAD8C4yw7xc8Nnlir8CX/rVoiWWR -XXfR8RgdMc8m3evDNhIA/2chm+QgOHZdxGbQ6zWUC3V1Kfy4Z/2fsKr4/I/4MrD4 -=/f2C +iF4EAREIAAYFAk+5N8QACgkQiIP6VqMIqNeV6QD+P4sObTtWThI0Mw9KULgsiZTX +PN3Re27Et4PFPhZ3SLoA/R41rVg1U2kxz14jjiXjYhC56Hf4RpskCCZ3YXHVXVvo +=gx2E -----END PGP SIGNATURE----- diff --git a/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild b/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild index 303f3627eb68..48085205f663 100644 --- a/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild +++ b/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild,v 1.1 2012/01/06 07:35:54 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakefs/fakefs-0.4.0-r1.ebuild,v 1.2 2012/05/20 18:28:15 graaff Exp $ EAPI=2 # jruby → Marshal/DeMarshal to clone directories fail; tests fail in # release 0.2.1 -USE_RUBY="ruby18 ree18 ruby19" +USE_RUBY="ruby18 ree18 ruby19 jruby" RUBY_FAKEGEM_TASK_TEST="test spec" @@ -35,5 +35,16 @@ all_ruby_prepare() { epatch "${FILESDIR}/${P}-ruby193-advise.patch" epatch "${FILESDIR}/${P}-ruby193-pathname.patch" epatch "${FILESDIR}/${P}-ruby193-ruby-pathname.patch" +} +each_ruby_prepare() { + case ${RUBY} in + *jruby) + # Ignore failing tests: upstream is aware and doing the same + # on Travis. + rm test/fakefs_test.rb || die + ;; + *) + ;; + esac } |