Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-support/
Date: Sat, 05 Jan 2019 07:58:40
Message-Id: 1546675096.452a400ca0e76e1f80a10efdf61475cec78c94ee.graaff@gentoo
1 commit: 452a400ca0e76e1f80a10efdf61475cec78c94ee
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 5 07:45:08 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 5 07:58:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=452a400c
7
8 dev-ruby/rspec-support: add ruby26
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ruby/rspec-support/rspec-support-3.8.0.ebuild | 8 ++++++--
14 1 file changed, 6 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-ruby/rspec-support/rspec-support-3.8.0.ebuild b/dev-ruby/rspec-support/rspec-support-3.8.0.ebuild
17 index e84bff1cedb..49f58a42c92 100644
18 --- a/dev-ruby/rspec-support/rspec-support-3.8.0.ebuild
19 +++ b/dev-ruby/rspec-support/rspec-support-3.8.0.ebuild
20 @@ -1,8 +1,8 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2019 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26 -USE_RUBY="ruby23 ruby24 ruby25"
27 +USE_RUBY="ruby23 ruby24 ruby25 ruby26"
28
29 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
30 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
31 @@ -36,4 +36,8 @@ all_ruby_prepare() {
32
33 # Avoid a spec requiring a specific locale
34 sed -i -e '/copes with encoded strings/ s/RSpec::Support::OS.windows?/true/' spec/rspec/support/differ_spec.rb || die
35 +
36 + # Avoid a brittle spec depending on ruby implementation details
37 + # should be fixed upstream in next version
38 + sed -i -e '/returns a hash containing nodes for each line number/askip "ruby26"' spec/rspec/support/source_spec.rb || die
39 }