1 |
commit: 7957c5b0b663b9d8c1b725ef0384eb8c50c3f262 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 26 06:30:16 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 26 06:30:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7957c5b0 |
7 |
|
8 |
dev-ruby/loofah: add 2.4.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/loofah/Manifest | 1 + |
14 |
dev-ruby/loofah/loofah-2.4.0.ebuild | 33 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/loofah/Manifest b/dev-ruby/loofah/Manifest |
18 |
index 05e8cc0479b..1bb9c709731 100644 |
19 |
--- a/dev-ruby/loofah/Manifest |
20 |
+++ b/dev-ruby/loofah/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST loofah-2.3.1.gem 68096 BLAKE2B 367cf64fe458cdfb0af3dc57012d892f830a7aa0df2d30f66cde7c2f5c31c1f29be4d1b83b85f3167bca1bc02fb750a420bce655b803ca4992ded3061c8fc82c SHA512 188e84818abc3a3eed39afd66a75e7fa3c0a29f8ec957441f43f4cbfd962c8c3ea848e83f435a3d61ffc667273b5ff006df39d718b7631a11b62ae2d3f78b6ba |
23 |
+DIST loofah-2.4.0.gem 68096 BLAKE2B 7bffd489c6234b3afeebafad5029802aa0370ded269de018517e914c4c2ec151936e899c633e157045f93dce3e0d829e9821a3ab42447f71ca679f1bd3965423 SHA512 95bea374c0cf9e49becd4533c141a6ebb388f4ae0a1c27263612d3a4089177fd97956e4fbe7a8c8a8b17d8d69387e4629cf7c004f17008fb592f6b71297ed22a |
24 |
|
25 |
diff --git a/dev-ruby/loofah/loofah-2.4.0.ebuild b/dev-ruby/loofah/loofah-2.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7ea90a4b875 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/loofah/loofah-2.4.0.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+USE_RUBY="ruby24 ruby25 ruby26" |
36 |
+ |
37 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
38 |
+ |
39 |
+inherit ruby-fakegem |
40 |
+ |
41 |
+DESCRIPTION="Library for manipulating and transforming HTML/XML documents and fragments." |
42 |
+HOMEPAGE="https://github.com/flavorjones/loofah" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" |
47 |
+IUSE="" |
48 |
+ |
49 |
+ruby_add_rdepend "=dev-ruby/crass-1.0* >=dev-ruby/crass-1.0.2 >=dev-ruby/nokogiri-1.5.9" |
50 |
+ |
51 |
+ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 )" |
52 |
+ |
53 |
+all_ruby_prepare() { |
54 |
+ # Avoid unneeded development dependencies |
55 |
+ sed -i -e '/concourse/I s:^:#:' Rakefile || die |
56 |
+ |
57 |
+ # Avoid test failing on different whitespace. |
58 |
+ sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die |
59 |
+} |
60 |
+ |
61 |
+each_ruby_test() { |
62 |
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die |
63 |
+} |