1 |
commit: e861d158ff44b0eeb185cdad89ad6251162285b6 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 06:00:30 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 06:01:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e861d158 |
7 |
|
8 |
dev-ruby/haml: allow parallel installation of slots |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-ruby/haml/haml-4.0.7-r2.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ |
13 |
dev-ruby/haml/haml-5.0.4.ebuild | 2 +- |
14 |
2 files changed, 50 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-ruby/haml/haml-4.0.7-r2.ebuild b/dev-ruby/haml/haml-4.0.7-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..f2c698f635d |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/haml/haml-4.0.7-r2.ebuild |
21 |
@@ -0,0 +1,49 @@ |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+USE_RUBY="ruby22 ruby23 ruby24" |
28 |
+ |
29 |
+RUBY_FAKEGEM_TASK_TEST="test" |
30 |
+RUBY_FAKEGEM_TASK_DOC="-Ilib doc" |
31 |
+ |
32 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md" |
33 |
+RUBY_FAKEGEM_DOCDIR="doc" |
34 |
+ |
35 |
+RUBY_FAKEGEM_BINWRAP="" |
36 |
+ |
37 |
+inherit ruby-fakegem |
38 |
+ |
39 |
+DESCRIPTION="A ruby web page templating engine" |
40 |
+HOMEPAGE="http://haml-lang.com/" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="4" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
+ |
46 |
+IUSE="doc test" |
47 |
+ |
48 |
+RDEPEND="${RDEPEND} !!<dev-ruby/haml-3.1.8-r2" |
49 |
+ |
50 |
+ruby_add_rdepend "dev-ruby/tilt:*" |
51 |
+ |
52 |
+ruby_add_bdepend " |
53 |
+ test? ( |
54 |
+ dev-ruby/minitest:5 |
55 |
+ dev-ruby/nokogiri |
56 |
+ dev-ruby/rails:4.2 |
57 |
+ dev-ruby/bundler |
58 |
+ ) |
59 |
+ doc? ( |
60 |
+ dev-ruby/yard |
61 |
+ >=dev-ruby/maruku-0.7.2-r1 |
62 |
+ )" |
63 |
+ |
64 |
+all_ruby_prepare() { |
65 |
+ # Remove test that fails when RedCloth is available |
66 |
+ sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,+9 s/^/#/"\ |
67 |
+ test/filters_test.rb || die |
68 |
+ # Avoid tests that are fragile for whitespace |
69 |
+ sed -i -e '/test_\(text_area\|partials_should_not_cause_textareas\)/,/^ end/ s:^:#:' test/helper_test.rb || die |
70 |
+} |
71 |
|
72 |
diff --git a/dev-ruby/haml/haml-5.0.4.ebuild b/dev-ruby/haml/haml-5.0.4.ebuild |
73 |
index 5edf1735412..22d89343e9a 100644 |
74 |
--- a/dev-ruby/haml/haml-5.0.4.ebuild |
75 |
+++ b/dev-ruby/haml/haml-5.0.4.ebuild |
76 |
@@ -25,7 +25,7 @@ KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64- |
77 |
|
78 |
IUSE="doc test" |
79 |
|
80 |
-RDEPEND="${RDEPEND} !!<dev-ruby/haml-3.1.8-r2" |
81 |
+RDEPEND="${RDEPEND} !!<dev-ruby/haml-4.0.7-r2" |
82 |
|
83 |
ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*" |