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 | 35cc7dcff12728c43807e9f304869fe9b9145674 (patch) | |
tree | 292ced5f3f2e7fd97ede44be754bf15f43699d40 /dev-ruby/fakefs | |
parent | Keyword for arm since the underlying implementation is keyworded already. (diff) | |
download | gentoo-2-35cc7dcff12728c43807e9f304869fe9b9145674.tar.gz gentoo-2-35cc7dcff12728c43807e9f304869fe9b9145674.tar.bz2 gentoo-2-35cc7dcff12728c43807e9f304869fe9b9145674.zip |
Add jruby but ignore some tests similar to upstream. Needed for newer rspec:2 versions.
(Portage version: 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/fakefs-0.4.0-r1.ebuild | 15 |
2 files changed, 18 insertions, 3 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/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 } |