Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sanitize/
Date: Tue, 30 Jan 2018 05:34:43
Message-Id: 1517290400.db907d11b9d8098302a4bcd71f62095ace0e4961.graaff@gentoo
1 commit: db907d11b9d8098302a4bcd71f62095ace0e4961
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 30 05:33:20 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 30 05:33:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db907d11
7
8 dev-ruby/sanitize: add 4.6.0
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-ruby/sanitize/Manifest | 1 +
13 dev-ruby/sanitize/sanitize-4.6.0.ebuild | 32 ++++++++++++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest
17 index 0f2f746579e..c2937591c80 100644
18 --- a/dev-ruby/sanitize/Manifest
19 +++ b/dev-ruby/sanitize/Manifest
20 @@ -1,2 +1,3 @@
21 DIST sanitize-2.1.0.gem 20992 BLAKE2B 726cca43e1c9bebb4e750acec43dd6f6a3a17659e1390718dafcce3f1813a8756d9f34320b8c27c52a054009f40639e2e933718577ab4c5620bd4b754742d188 SHA512 29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096
22 DIST sanitize-4.5.0.tar.gz 1347295 BLAKE2B f49f061c4213d62d01561fd0b5f9a3d0a955bb949e0667dd8ed64cfaff8daf77b1b9b7d089b3aadaea3a5045e5f18f334d3cc1cb6dbb48cc9a564a200517df09 SHA512 2be26bf42c83d7a181a57a9cb1cf63a2287866147590094d7ae4153c017ed997f2caf5a3cf4bfdd23c36706d416375267d4798bfb30d1d293572365cd8959226
23 +DIST sanitize-4.6.0.tar.gz 1347335 BLAKE2B 09b420c47c267729939b5eb927c746d86f2db99f7c569236b6a06a0a7e98b85f6a745e1e70ba7862f850cd7c051b5507556be83677a1912c6fae720f4d839792 SHA512 46bd3e825538d97227c9f4addd51aa673cc36992d30d97ed900c90764078b4b3eb0a7bb3802ec8e377af10e58f0f618c56ccda6ff6ad382eec2e200e526b169c
24
25 diff --git a/dev-ruby/sanitize/sanitize-4.6.0.ebuild b/dev-ruby/sanitize/sanitize-4.6.0.ebuild
26 new file mode 100644
27 index 00000000000..58f0b67febe
28 --- /dev/null
29 +++ b/dev-ruby/sanitize/sanitize-4.6.0.ebuild
30 @@ -0,0 +1,32 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +USE_RUBY="ruby22 ruby23 ruby24"
37 +
38 +RUBY_FAKEGEM_RECIPE_DOC="none"
39 +RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md"
40 +
41 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
42 +
43 +inherit ruby-fakegem
44 +
45 +DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer"
46 +HOMEPAGE="https://github.com/rgrove/sanitize"
47 +SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz"
48 +
49 +LICENSE="MIT"
50 +SLOT="4"
51 +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
52 +IUSE="test"
53 +
54 +ruby_add_rdepend "
55 + >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0*
56 + >=dev-ruby/nokogiri-1.4.4
57 + >=dev-ruby/nokogumbo-1.4.1 =dev-ruby/nokogumbo-1.4*"
58 +ruby_add_bdepend "test? ( dev-ruby/minitest )"
59 +
60 +each_ruby_test() {
61 + ${RUBY} -Ilib test/test_sanitize.rb || die
62 +}