summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-08-24 07:22:16 +0200
committerHans de Graaff <graaff@gentoo.org>2016-08-24 07:24:17 +0200
commitcbd04d65620d01d4bcc2d4ae95ce654fbf681f39 (patch)
tree74a9ec2716d0c5438886bd0219c28512c46d0840
parentdev-ruby/memoist: add 0.15.0 (diff)
downloadgentoo-cbd04d65620d01d4bcc2d4ae95ce654fbf681f39.tar.gz
gentoo-cbd04d65620d01d4bcc2d4ae95ce654fbf681f39.tar.bz2
gentoo-cbd04d65620d01d4bcc2d4ae95ce654fbf681f39.zip
dev-ruby/sanitize: add 4.2.0
Package-Manager: portage-2.2.28
-rw-r--r--dev-ruby/sanitize/Manifest1
-rw-r--r--dev-ruby/sanitize/sanitize-4.2.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest
index 73a5e1511ebb..57e7af403264 100644
--- a/dev-ruby/sanitize/Manifest
+++ b/dev-ruby/sanitize/Manifest
@@ -1,3 +1,4 @@
DIST sanitize-2.1.0.gem 20992 SHA256 c3be075f5b38a1b02404be5778b181e50fba9ab253bac851cb217d9a71375b77 SHA512 29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096 WHIRLPOOL f07c3f7c3550b1e47e3189838a8c1c30c7cd856f237dde167516f25e86520fffe7357f87efd4f2fcf03230650fa55da0ff2d7870746c72c9897318f6dc935cc6
DIST sanitize-4.0.1.tar.gz 1345784 SHA256 b867c3a85ad6d7c9537e2b99e227f7821625f0afa00c41a0428a55ef0ebaf582 SHA512 57ba4455e5bdb25e305d41aa371a5faa555bf01ed8cb41b159ca4bf07fbaa77451c75d27121aa151e2965a9d41323a288a05dc4b28fa5bf3b43c35f71997d0ea WHIRLPOOL af49a5dad74df73806f858f13ec95c502bdce668280a68dcc951c107dafc1e3fccbe9223bfbb160e66d010c060cc396870b37fa35d0daf4fd8e47cbe90894cb5
DIST sanitize-4.1.0.tar.gz 1346494 SHA256 3a6f51eb7786637f21ecf80d107892a646e17bce849d6880ea760d09e4045481 SHA512 4e608ca8dd88a2c1bde6323fc5c32d32505db9fdacf9b3ddb562a9a709b759fbdf12fb657f639f27d188b8f15af1765abdfba224b4bb15a244c3c506d95a75ab WHIRLPOOL 95c1d4991ecdfa2cf691689142ada9ce88726c1312782ce9c1cdabd26fe445823cb5f88bab906751e830c355329326609eba48a371389fef3b46d10047ede84c
+DIST sanitize-4.2.0.tar.gz 1346791 SHA256 a2803fe2ec2cb817b235c1554218690d2450bbc653d0beafb9032a5df36bc592 SHA512 3a3d1041cb363a636b7aa2ad57a049565b64430b05bb8742d6aaaf81e3a79f14fb357caf8f14393e344b7315dfeefc7be217c53f8fbee04b3691f27f56e1108f WHIRLPOOL 4bd65c67533c1472520a65f96670f1c5766ceaf3f21bce829ae7e453d89eba0ca4c0c894fce6c825648178f90d641125d33bbe04b92062556d2a7d12e5cd6f26
diff --git a/dev-ruby/sanitize/sanitize-4.2.0.ebuild b/dev-ruby/sanitize/sanitize-4.2.0.ebuild
new file mode 100644
index 000000000000..742a0435ee7f
--- /dev/null
+++ b/dev-ruby/sanitize/sanitize-4.2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="HISTORY.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Sanitize is a whitelist-based HTML sanitizer"
+HOMEPAGE="https://github.com/rgrove/sanitize"
+SRC_URI="https://github.com/rgrove/sanitize/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/crass-1.0.2 =dev-ruby/crass-1.0*
+ >=dev-ruby/nokogiri-1.4.4
+ >=dev-ruby/nokogumbo-1.4.1 =dev-ruby/nokogumbo-1.4*"
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/test_sanitize.rb || die
+}