diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-04-16 08:13:59 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-04-16 08:13:59 +0200 |
commit | 571b13cfb340a1b07fdde91ddd0d38a492dba0ef (patch) | |
tree | 930cab351a1460aab0445c2cd35d64f98f287a3c /dev-ruby/rspec-support | |
parent | dev-ruby/bunny: add 2.6.5 (diff) | |
download | gentoo-571b13cfb340a1b07fdde91ddd0d38a492dba0ef.tar.gz gentoo-571b13cfb340a1b07fdde91ddd0d38a492dba0ef.tar.bz2 gentoo-571b13cfb340a1b07fdde91ddd0d38a492dba0ef.zip |
dev-ruby/rspec-support: fix tests
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/rspec-support')
-rw-r--r-- | dev-ruby/rspec-support/rspec-support-3.5.0.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/rspec-support/rspec-support-3.5.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.5.0.ebuild index 7ddbcdb768ad..ca6568aa2b2e 100644 --- a/dev-ruby/rspec-support/rspec-support-3.5.0.ebuild +++ b/dev-ruby/rspec-support/rspec-support-3.5.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -USE_RUBY="ruby20 ruby21 ruby22 ruby23" +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23" RUBY_FAKEGEM_RECIPE_TEST="rspec3" RUBY_FAKEGEM_RECIPE_DOC="rdoc" @@ -22,7 +22,7 @@ SLOT="3" KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" -ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.5.0:3 )" +ruby_add_bdepend "test? ( >=dev-ruby/rspec-3.5.0:3 dev-ruby/thread_order )" all_ruby_prepare() { sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die @@ -31,6 +31,9 @@ all_ruby_prepare() { # the whole filesystem. rm spec/rspec/support/caller_filter_spec.rb || die + # Avoid spec that requires a dependency on git + sed -i -e '/library wide checks/,/]/ s:^:#:' spec/rspec/support_spec.rb || die + # Avoid a spec requiring a specific locale sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die } |