1 |
commit: a4a860f7ae29efb0fccdc54ccd50c5f3ca436a73 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 17 06:15:03 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 17 06:21:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a860f7 |
7 |
|
8 |
dev-ruby/haml: add 5.0.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ruby/haml/Manifest | 1 + |
13 |
dev-ruby/haml/haml-5.0.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest |
17 |
index 0c7cc6dee6a..64bccfef8eb 100644 |
18 |
--- a/dev-ruby/haml/Manifest |
19 |
+++ b/dev-ruby/haml/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST haml-4.0.7.gem 121856 SHA256 3754d0f7c21cf261a30b207a94524211293b921492fab58c89d1ede7e7933f57 SHA512 5736ded231bb10a0c0932453294604075e24a9020c2658e703c13ebf7a8d148327188157f982a3aea5db6d6938beb372c0167dfbc4ff06325517b2c8bd71a568 WHIRLPOOL 62f1f152dbf8eea15ef3935d8e85b062f5a3f079a3cc4e4ad47056acfe7427b443611f092f591ff957f348d1727ce43b23d9f88083a4678b30d759a2ecd6e659 |
22 |
+DIST haml-5.0.1.tar.gz 123154 SHA256 c6580d96245f85d26c2d953cabb14c3035941e82b897684d528a10491fa5cb42 SHA512 deb5dc4746a0bc4b5103880c2364b6354eaa7968b6fa3df5a0a216a5c26c524e985c4a1e39df1de90b303d490b8d9ed9daa65eb00c0cbbbf772cd6b577c773be WHIRLPOOL 8174e1b5b027604157297f6c9f1bcd03bbfe20357a55799bfaa55e179025c53daab64d024eb8ab765592980199c758f4a8e901df975695c1326e1699b1d85b0b |
23 |
|
24 |
diff --git a/dev-ruby/haml/haml-5.0.1.ebuild b/dev-ruby/haml/haml-5.0.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..5bba09199d6 |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/haml/haml-5.0.1.ebuild |
29 |
@@ -0,0 +1,57 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+USE_RUBY="ruby21 ruby22 ruby23" |
36 |
+ |
37 |
+RUBY_FAKEGEM_TASK_TEST="test" |
38 |
+RUBY_FAKEGEM_TASK_DOC="-Ilib doc" |
39 |
+ |
40 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md" |
41 |
+RUBY_FAKEGEM_DOCDIR="doc" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="A ruby web page templating engine" |
48 |
+HOMEPAGE="http://haml-lang.com/" |
49 |
+SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="5" |
53 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
54 |
+ |
55 |
+IUSE="doc test" |
56 |
+ |
57 |
+RDEPEND="${RDEPEND} !!<dev-ruby/haml-3.1.8-r2" |
58 |
+ |
59 |
+ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*" |
60 |
+ |
61 |
+ruby_add_bdepend " |
62 |
+ test? ( |
63 |
+ dev-ruby/minitest:5 |
64 |
+ dev-ruby/nokogiri |
65 |
+ dev-ruby/railties:4.2 |
66 |
+ dev-ruby/activemodel:4.2 |
67 |
+ dev-ruby/actionpack:4.2 |
68 |
+ ) |
69 |
+ doc? ( |
70 |
+ dev-ruby/yard |
71 |
+ >=dev-ruby/maruku-0.7.2-r1 |
72 |
+ )" |
73 |
+ |
74 |
+all_ruby_prepare() { |
75 |
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
76 |
+ |
77 |
+ sed -i -e '/bundler/ s:^:#:' \ |
78 |
+ -e 's/gem "minitest"/gem "minitest", "~>5.0"/'\ |
79 |
+ -e '1igem "actionpack", "~>4.2"'\ |
80 |
+ -e '1igem "activesupport", "~>4.2"; gem "activemodel", "~>4.2"'\ |
81 |
+ -e '1igem "railties", "~>4.2"'\ |
82 |
+ test/test_helper.rb || die |
83 |
+ # Remove test that fails when RedCloth is available |
84 |
+ sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^ end/ s/^/#/"\ |
85 |
+ test/filters_test.rb || die |
86 |
+} |