diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-01 07:16:47 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-01 07:16:47 +0200 |
commit | 2872faf083deb0fbd38869c6320cdfac029d8ed7 (patch) | |
tree | f2a4f6c373cc4b879164a4ddd7ab9c7750c73994 /dev-ruby/sanitize | |
parent | dev-ruby/ddplugin: add 1.0.2 (diff) | |
download | gentoo-2872faf083deb0fbd38869c6320cdfac029d8ed7.tar.gz gentoo-2872faf083deb0fbd38869c6320cdfac029d8ed7.tar.bz2 gentoo-2872faf083deb0fbd38869c6320cdfac029d8ed7.zip |
dev-ruby/sanitize: add 4.6.4
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/sanitize')
-rw-r--r-- | dev-ruby/sanitize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-4.6.4.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index c2937591c80b..a8c80d17fef9 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,3 +1,4 @@ DIST sanitize-2.1.0.gem 20992 BLAKE2B 726cca43e1c9bebb4e750acec43dd6f6a3a17659e1390718dafcce3f1813a8756d9f34320b8c27c52a054009f40639e2e933718577ab4c5620bd4b754742d188 SHA512 29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096 DIST sanitize-4.5.0.tar.gz 1347295 BLAKE2B f49f061c4213d62d01561fd0b5f9a3d0a955bb949e0667dd8ed64cfaff8daf77b1b9b7d089b3aadaea3a5045e5f18f334d3cc1cb6dbb48cc9a564a200517df09 SHA512 2be26bf42c83d7a181a57a9cb1cf63a2287866147590094d7ae4153c017ed997f2caf5a3cf4bfdd23c36706d416375267d4798bfb30d1d293572365cd8959226 DIST sanitize-4.6.0.tar.gz 1347335 BLAKE2B 09b420c47c267729939b5eb927c746d86f2db99f7c569236b6a06a0a7e98b85f6a745e1e70ba7862f850cd7c051b5507556be83677a1912c6fae720f4d839792 SHA512 46bd3e825538d97227c9f4addd51aa673cc36992d30d97ed900c90764078b4b3eb0a7bb3802ec8e377af10e58f0f618c56ccda6ff6ad382eec2e200e526b169c +DIST sanitize-4.6.4.tar.gz 1349418 BLAKE2B 2d1a56340e562d057c85edc0d5157508267a4089b0aeb59156d0c249c8a39adcc15a10c8c67d84be77a2b388aa779e9330b9b4b52f28f11d7666eb97fb41bd24 SHA512 d870d8cc5ce6043e3825cfbb50f31c00d348c9ca05823c0eda245b9c175ae0bb9d0941845112bb3721ded9013bc554c09bfc55a1bfad70fcccd1660142e4ca82 diff --git a/dev-ruby/sanitize/sanitize-4.6.4.ebuild b/dev-ruby/sanitize/sanitize-4.6.4.ebuild new file mode 100644 index 000000000000..9fd0e4f30ffe --- /dev/null +++ b/dev-ruby/sanitize/sanitize-4.6.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +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:0" +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +each_ruby_test() { + ${RUBY} -Ilib test/test_sanitize.rb || die +} |