1 |
commit: e51f009f6a5d97d467528a91f5e1e1dab9ed4c2b |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 25 05:34:22 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 25 05:34:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51f009f |
7 |
|
8 |
dev-ruby/haml: add 5.1.1 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/haml/Manifest | 1 + |
14 |
dev-ruby/haml/haml-5.1.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest |
18 |
index cd54ba78888..d962d0fbc5d 100644 |
19 |
--- a/dev-ruby/haml/Manifest |
20 |
+++ b/dev-ruby/haml/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST haml-4.0.7.gem 121856 BLAKE2B e2598df73b9bf7337c06f60b30fcf7925fa5948f4643051aabbbdf600d25dbc2f614c4cf2054a916f69ef431847279eee1fbdf02e9bf2811369f2c195ed00413 SHA512 5736ded231bb10a0c0932453294604075e24a9020c2658e703c13ebf7a8d148327188157f982a3aea5db6d6938beb372c0167dfbc4ff06325517b2c8bd71a568 |
23 |
DIST haml-5.0.4.tar.gz 124580 BLAKE2B c22e464be26f65bd94b202b21604bb9fe3d740865832c9299d93606293794316a5262504e15583fdc2628a3015ea58f9924a9b3aab2f46340b305ad5af7968ac SHA512 125ae514f800b2dd58f7f339ef3bf8c15114c5738813d911985182d4e4b1e8551c92a89149427aa8bf3326f45c8f71f4f13f37ecb7e2bee5cb75163538f6a3a8 |
24 |
DIST haml-5.1.0.tar.gz 125693 BLAKE2B 0a2e9044e7468a93b5fa62adc77131a67e79fe3701f86ba9dc341a5e33a52701bad09115137c7decfac92bd7e1aa92bbe6bd0a063ef5917c9c6cf4d072a9278a SHA512 97ed4eef3f1b0748c8d7c717dffc466db9da92c862bc90f9db05043facdbe58e605f83193a0d94b8bbcf2863ca0ab95de0a31ec266ee2907aacb94346fddd875 |
25 |
+DIST haml-5.1.1.tar.gz 125902 BLAKE2B b8564dca6a381038dae1b737b6f4a51089b96f618d684f43db6947bc738e06b073aa17241b406ed06fea48fda9c7ec759149829a5727f8da3df21da3cce22318 SHA512 fdc01762280cbece243d1ac1a3c8b6b484e3b01fcb2ff80df591d172ec6aed7240736095aa5a09149049ebb54cf24af32706772a6090c3171c84ccb069d12826 |
26 |
|
27 |
diff --git a/dev-ruby/haml/haml-5.1.1.ebuild b/dev-ruby/haml/haml-5.1.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..425a2568ea5 |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/haml/haml-5.1.1.ebuild |
32 |
@@ -0,0 +1,57 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+USE_RUBY="ruby24 ruby25 ruby26" |
39 |
+ |
40 |
+RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test" |
41 |
+RUBY_FAKEGEM_TASK_DOC="-Ilib doc" |
42 |
+ |
43 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md" |
44 |
+RUBY_FAKEGEM_DOCDIR="doc" |
45 |
+ |
46 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
47 |
+ |
48 |
+inherit ruby-fakegem |
49 |
+ |
50 |
+DESCRIPTION="A ruby web page templating engine" |
51 |
+HOMEPAGE="http://haml.info/" |
52 |
+SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
53 |
+ |
54 |
+LICENSE="MIT" |
55 |
+SLOT="5" |
56 |
+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" |
57 |
+ |
58 |
+IUSE="doc test" |
59 |
+ |
60 |
+RDEPEND="${RDEPEND} !!<dev-ruby/haml-4.0.7-r2" |
61 |
+ |
62 |
+ruby_add_rdepend ">=dev-ruby/temple-0.8.0 dev-ruby/tilt:*" |
63 |
+ |
64 |
+ruby_add_bdepend " |
65 |
+ test? ( |
66 |
+ dev-ruby/minitest:5 |
67 |
+ dev-ruby/nokogiri |
68 |
+ dev-ruby/railties:5.2 |
69 |
+ dev-ruby/activemodel:5.2 |
70 |
+ dev-ruby/actionpack:5.2 |
71 |
+ ) |
72 |
+ doc? ( |
73 |
+ dev-ruby/yard |
74 |
+ >=dev-ruby/maruku-0.7.2-r1 |
75 |
+ )" |
76 |
+ |
77 |
+all_ruby_prepare() { |
78 |
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
79 |
+ |
80 |
+ sed -i -e '/bundler/I s:^:#:' \ |
81 |
+ -e 's/gem "minitest"/gem "minitest", "~>5.0"/'\ |
82 |
+ -e '1igem "actionpack", "~>5.2"'\ |
83 |
+ -e '1igem "activesupport", "~>5.2"; gem "activemodel", "~>5.2"'\ |
84 |
+ -e '1igem "railties", "~>5.2"'\ |
85 |
+ test/test_helper.rb || die |
86 |
+ # Remove test that fails when RedCloth is available |
87 |
+ sed -i -e "/should raise error when a Tilt filters dependencies are unavailable for extension/,/^ end/ s/^/#/"\ |
88 |
+ test/filters_test.rb || die |
89 |
+} |