summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-06-13 06:38:51 +0200
committerHans de Graaff <graaff@gentoo.org>2020-06-13 06:38:51 +0200
commitdb20cfa91b17e69545c1090c4416b9f9a6978b61 (patch)
treeafb0a201a4991c258d794df70d384e5a545288dc /dev-ruby/sanitize
parentdev-ruby/rouge: add 3.20.0 (diff)
downloadgentoo-db20cfa91b17e69545c1090c4416b9f9a6978b61.tar.gz
gentoo-db20cfa91b17e69545c1090c4416b9f9a6978b61.tar.bz2
gentoo-db20cfa91b17e69545c1090c4416b9f9a6978b61.zip
dev-ruby/sanitize: add 5.2.0
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/sanitize')
-rw-r--r--dev-ruby/sanitize/Manifest1
-rw-r--r--dev-ruby/sanitize/sanitize-5.2.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest
index 22ea722595ee..0b02d3b702f9 100644
--- a/dev-ruby/sanitize/Manifest
+++ b/dev-ruby/sanitize/Manifest
@@ -1,3 +1,4 @@
DIST sanitize-4.6.6.tar.gz 1349809 BLAKE2B d34f3359f1241881f96d48cfce6aa554796e7c7a2282c729dc93b6db7f1c5d2ec1677ebd1cddb79cb14f84d7724ddb7dad551136cd130bd89750ab5851a8094f SHA512 6f2567601dea9fd08996fe537e5543c7618e407a68580a19b74333a6e840d1123891a087e6c57c88f887390cd04e4c25af71547d7d9622e61369dc4ffe92f220
DIST sanitize-5.0.0.tar.gz 1350342 BLAKE2B 0c4a8e442a2dc9748dfb4ab2cf13862bbb2692665194ae8aa18bf84bac200e5622fa05cf2a022d7a0c3a7ddd901996f028948f517f8f6227d0aad2479f05996c SHA512 dcfaec0666bb017580deaa4a9fb2c6e50dc678fe26bd57db7451472e1558ff7adaa6e0bd43554ceb68501a92d25405415ce6570806b177d7d92f138666f5169c
DIST sanitize-5.1.0.tar.gz 1351620 BLAKE2B 098fc23c87d02d73341e466b6bb4440037f5a46841a898e05f37bc3379df8534ade8948e58173725d93b620627d8ba9c5a9a9e55b6d29f52b43fd7328cd6fd3f SHA512 d6c1f28795f881ab7fd11283c29f8e09b15bf393ee1b419aa9b8bbe41a7a7a28b5644a1c55b8e87534acf0ac73f1a07c14964c3d158814302dee57eaf2e91f90
+DIST sanitize-5.2.0.tar.gz 1352054 BLAKE2B a0502805472bbe3d9bfb7c647bde6fd67d7204addf7e351c890e3db001c7095f0292d19b338aef73ef35f3f46525b9365bfcac820820025578b5bcf60afaa01d SHA512 9851145f9a4e07c18da15de809ca8120739d6062bdbc10d39947bbffc8b41385f6d8e8e5abebb5c4d29c5dfa68ff772767758cc079fe13b44e055a61bd978ab4
diff --git a/dev-ruby/sanitize/sanitize-5.2.0.ebuild b/dev-ruby/sanitize/sanitize-5.2.0.ebuild
new file mode 100644
index 000000000000..980f5a48297e
--- /dev/null
+++ b/dev-ruby/sanitize/sanitize-5.2.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+
+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="5"
+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.8.0
+ dev-ruby/nokogumbo:2"
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/test_sanitize.rb || die
+}