1 |
commit: a48ca0a64df0736fd7ed72eac5bf133d904390cc |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 1 05:43:08 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 1 05:43:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a48ca0a6 |
7 |
|
8 |
dev-ruby/loofah: add 2.11.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/loofah/Manifest | 1 + |
14 |
dev-ruby/loofah/loofah-2.11.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 4485b16de74..3c84931ee2c 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.8.0.tar.gz 68844 BLAKE2B 52b5b5c7a70939069d84d0f66c4262e456d2ed81ab4ef2541eceb9068ccdddbb1c7b470ca7504700f6f66d4aa4507b9edfd4720c1302f6026008c10100c1fecb SHA512 a9d7c21be733e1aab8353ab7bfb3db14d47e8da2c3f20eba11d0041b782e4f2cb82865bbd5a2a9321aae7ea04089f6a5fd1bd3119cbfe8a00c2ea71a40cae53b |
25 |
DIST loofah-2.9.1.tar.gz 69652 BLAKE2B 76bdd6c1ffda325314eb28c4bea6e5c8b8a69c3a7e9a661f328507a523ca086c2caf14f58b2e83cc2213c072342176bbb2de7be5a68d68e54675f30e81657b92 SHA512 625c38de7fe5fcbd8e3fb01aa7aa28560e7f3bb4e5354912bed072bd83cf35e824cf84e491155fa44b50ae418c46a187f02d4f605062abbfde05653d022bb663 |
26 |
|
27 |
diff --git a/dev-ruby/loofah/loofah-2.11.0.ebuild b/dev-ruby/loofah/loofah-2.11.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..6601637f345 |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/loofah/loofah-2.11.0.ebuild |
32 |
@@ -0,0 +1,39 @@ |
33 |
+# Copyright 1999-2021 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 ~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 |
+} |