diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-09-17 06:55:17 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-09-17 06:55:28 +0200 |
commit | f6604b7439d820365a835a137d9d66b0f6b71674 (patch) | |
tree | 82b0d878dcf58814dcd786f4e20ae6c57fb85928 /dev-ruby | |
parent | dev-ruby/simplecov: add 0.17.1 (diff) | |
download | gentoo-f6604b7439d820365a835a137d9d66b0f6b71674.tar.gz gentoo-f6604b7439d820365a835a137d9d66b0f6b71674.tar.bz2 gentoo-f6604b7439d820365a835a137d9d66b0f6b71674.zip |
dev-ruby/sanitize: add 5.1.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/sanitize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-5.1.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 1ff70bcfc723..22ea722595ee 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-ruby/sanitize/sanitize-5.1.0.ebuild b/dev-ruby/sanitize/sanitize-5.1.0.ebuild new file mode 100644 index 000000000000..c5bc9ca51fd6 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-5.1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +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 +} |