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