1 |
commit: 833dc19f285e76d63ccaf42c6bc456d90c419e8a |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 05:18:15 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 05:32:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833dc19f |
7 |
|
8 |
dev-ruby/haml: enable ruby30 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/haml/haml-5.2.2.ebuild | 15 +++++---------- |
13 |
1 file changed, 5 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/dev-ruby/haml/haml-5.2.2.ebuild b/dev-ruby/haml/haml-5.2.2.ebuild |
16 |
index 0161e3c229be..7f57326a3f66 100644 |
17 |
--- a/dev-ruby/haml/haml-5.2.2.ebuild |
18 |
+++ b/dev-ruby/haml/haml-5.2.2.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
-# Copyright 1999-2021 Gentoo Authors |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=8 |
25 |
|
26 |
-USE_RUBY="ruby26 ruby27" |
27 |
+USE_RUBY="ruby26 ruby27 ruby30" |
28 |
|
29 |
RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true RUBYLIB=lib test" |
30 |
RUBY_FAKEGEM_TASK_DOC="-Ilib doc" |
31 |
@@ -25,17 +25,15 @@ KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~pp |
32 |
|
33 |
IUSE="doc test" |
34 |
|
35 |
-RDEPEND="${RDEPEND} !!<dev-ruby/haml-4.0.7-r2" |
36 |
- |
37 |
ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*" |
38 |
|
39 |
ruby_add_bdepend " |
40 |
test? ( |
41 |
dev-ruby/minitest:5 |
42 |
dev-ruby/nokogiri |
43 |
- dev-ruby/railties:6.0 |
44 |
- dev-ruby/activemodel:6.0 |
45 |
- dev-ruby/actionpack:6.0 |
46 |
+ >=dev-ruby/railties-6.0 |
47 |
+ >=dev-ruby/activemodel-6.0 |
48 |
+ >=dev-ruby/actionpack-6.0 |
49 |
) |
50 |
doc? ( |
51 |
dev-ruby/yard |
52 |
@@ -48,9 +46,6 @@ all_ruby_prepare() { |
53 |
sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die |
54 |
sed -i -e '/bundler/I s:^:#:' \ |
55 |
-e '/simplecov/I s:^:#:' \ |
56 |
- -e '1igem "actionpack", "~>6.0.0"'\ |
57 |
- -e '1igem "activesupport", "~>6.0.0"; gem "activemodel", "~>6.0.0"'\ |
58 |
- -e '1igem "railties", "~>6.0.0"'\ |
59 |
test/test_helper.rb || die |
60 |
# Remove test that fails when RedCloth is available |
61 |
sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^ end/ s/^/#/"\ |