1 |
commit: e51b6e1d3d351b06f397e896b93c95503e565874 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 1 06:42:59 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 07:06:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e51b6e1d |
7 |
|
8 |
dev-ruby/loofah: add 2.19.0 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/loofah/Manifest | 1 + |
13 |
dev-ruby/loofah/loofah-2.19.0.ebuild | 39 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/loofah/Manifest b/dev-ruby/loofah/Manifest |
17 |
index afa89be2f011..b2324990e023 100644 |
18 |
--- a/dev-ruby/loofah/Manifest |
19 |
+++ b/dev-ruby/loofah/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST loofah-2.12.0.tar.gz 68919 BLAKE2B 3d4c95fc4b80948eae6e03fa2b24fe53ef0bde4e |
21 |
DIST loofah-2.14.0.tar.gz 69572 BLAKE2B 2b2609e8db6a7fc37fafcc11b376a57a237b246416b5e92302e4a054db2dc61bb5281febe3c8845a3df9804b4ebe8c74a4ca7d856a9356eeeb6ac41697a218a5 SHA512 b9911a210033b040317ff5db55c52eb0d2ddfe3d9bf31f4ad115827aef4ac0d58d0cbc58056c7fe9055a607a926cf28886006ffbf14f6275a8125072e7d57d4f |
22 |
DIST loofah-2.15.0.tar.gz 69736 BLAKE2B f5d8eb0113768b0f173aab45142056967293a1174835433b4b9a555e5039ce50e0ca29e9dbc501dcd7ab331f907e7cbbc3f08f239313f07a26d8926ef386c2cf SHA512 58536545a5c8a9d191d815634be966d0efa6cd8030d1f81c34e46ca3be4a002244eb5680f4c69ba36daa0095fc7c3548d00d57db29b2ce3cf252ef826f22d5f7 |
23 |
DIST loofah-2.18.0.tar.gz 70441 BLAKE2B 9164ccd663d217841474ceca065ff3e267b7d50851e840284f773de6bfb7835d2d9d2a4508ea174001076d7c3bccf8e5454f746dee3ed428e486f354a281def8 SHA512 beb637ad8f43c036e428a42bc0f3d693bc0b5685e41c12ebb88072974b2c7408c2a5f8a3cffb68b019f1c7e5140b388b53fd7c86f35e57e2efdc037088828017 |
24 |
+DIST loofah-2.19.0.tar.gz 71508 BLAKE2B 11f582b1f544cf1dbfde7556befeb70f5efdb32f503766c822b9144ca566f363c6bbe03d29d974d9b188c572c3f295767708fa7d120ab6db8ca099563014a055 SHA512 e034ceacd95989f78ef32d850bdd35ddee2fd51b1790644c8b4924b073e6237512244e9381596812d34656d6ea4b9a02b8d929c0c5b9d8f83e2a9c2758f6ac81 |
25 |
|
26 |
diff --git a/dev-ruby/loofah/loofah-2.19.0.ebuild b/dev-ruby/loofah/loofah-2.19.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..16fcec1713d7 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/loofah/loofah-2.19.0.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+USE_RUBY="ruby27 ruby30 ruby31" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
39 |
+ |
40 |
+RUBY_FAKEGEM_GEMSPEC="loofah.gemspec" |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="Library for manipulating and transforming HTML/XML documents and fragments." |
45 |
+HOMEPAGE="https://github.com/flavorjones/loofah" |
46 |
+SRC_URI="https://github.com/flavorjones/loofah/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" |
51 |
+IUSE="" |
52 |
+ |
53 |
+ruby_add_rdepend "=dev-ruby/crass-1.0* >=dev-ruby/crass-1.0.2 >=dev-ruby/nokogiri-1.5.9" |
54 |
+ |
55 |
+ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 )" |
56 |
+ |
57 |
+all_ruby_prepare() { |
58 |
+ # Fix version in gemspec |
59 |
+ sed -i -e '/s\.version/ s/".*"/"'${PV}'"/' ${RUBY_FAKEGEM_GEMSPEC} || die |
60 |
+ |
61 |
+ # Avoid unneeded development dependencies |
62 |
+ sed -i -e '/concourse/I s:^:#:' Rakefile || die |
63 |
+ |
64 |
+ # Avoid test failing on different whitespace. |
65 |
+ sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die |
66 |
+} |
67 |
+ |
68 |
+each_ruby_test() { |
69 |
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die |
70 |
+} |