1 |
commit: 867df861d2094b9b3a37a52923c8c4ffa549893f |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 28 08:13:00 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 28 11:12:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867df861 |
7 |
|
8 |
dev-ruby/coderay: 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/coderay/coderay-1.1.2.ebuild | 7 +++++-- |
14 |
1 file changed, 5 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/coderay/coderay-1.1.2.ebuild b/dev-ruby/coderay/coderay-1.1.2.ebuild |
17 |
index e1597c0c060..5e141439e49 100644 |
18 |
--- a/dev-ruby/coderay/coderay-1.1.2.ebuild |
19 |
+++ b/dev-ruby/coderay/coderay-1.1.2.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
|
27 |
-USE_RUBY="ruby22 ruby23 ruby24 ruby25" |
28 |
+USE_RUBY="ruby23 ruby24 ruby25 ruby26" |
29 |
|
30 |
# The test target also contains test:exe but that requires |
31 |
# shoulda-context which we do not have packaged yet. |
32 |
@@ -33,4 +33,7 @@ IUSE="" |
33 |
all_ruby_prepare() { |
34 |
sed -i -e "/[Bb]undler/d" Rakefile || die |
35 |
sed -i -e '/git ls-files/ s:^:#:' coderay.gemspec || die |
36 |
+ |
37 |
+ # Fix failing tests for lazy evaluation in ruby26 |
38 |
+ sed -i -e 's/\.filter$/.filter.to_a/' test/unit/filter.rb || die |
39 |
} |