diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-10-29 08:17:56 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-10-29 08:17:56 +0200 |
commit | 7c7020d746af4a41684b87c8868bb14a002d1794 (patch) | |
tree | 3abec7d89c42f550add6d010804942509187b779 /dev-ruby/sanitize | |
parent | dev-ruby/rex-arch: add 0.1.2 (diff) | |
download | gentoo-7c7020d746af4a41684b87c8868bb14a002d1794.tar.gz gentoo-7c7020d746af4a41684b87c8868bb14a002d1794.tar.bz2 gentoo-7c7020d746af4a41684b87c8868bb14a002d1794.zip |
dev-ruby/sanitize: add 4.4.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/sanitize')
-rw-r--r-- | dev-ruby/sanitize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-4.4.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 57dffa4366046..350686a79ce93 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.2.0.tar.gz 1346791 SHA256 a2803fe2ec2cb817b235c1554218690d2450bbc653d0beafb9032a5df36bc592 SHA512 3a3d1041cb363a636b7aa2ad57a049565b64430b05bb8742d6aaaf81e3a79f14fb357caf8f14393e344b7315dfeefc7be217c53f8fbee04b3691f27f56e1108f WHIRLPOOL 4bd65c67533c1472520a65f96670f1c5766ceaf3f21bce829ae7e453d89eba0ca4c0c894fce6c825648178f90d641125d33bbe04b92062556d2a7d12e5cd6f26 DIST sanitize-4.3.0.tar.gz 1346950 SHA256 f0d2bd4055474b90e9e263fe57f3a0b68000777650dab31dd78c7014d40afd9c SHA512 76ae6c9eb62ee6fff527f67d5e592406f1e6568c1dcbf528ac33cedae1b326ca4b9ba844a34f5ef271d8564c413e4467c5ea880c6cbbf3d41bc965853a40b299 WHIRLPOOL 30b369c3db4805438921c49b501c4bb49306048dad3aa68f6dfa0fdf219c8861326c054732326e27cdc09134ec54aa6888266f64d418a8638ad7ab3520c5115f +DIST sanitize-4.4.0.tar.gz 1346967 SHA256 6dc4245523d66fdbe3e54d0918d713dbdcad29382946882d26d7114f91433d79 SHA512 6cd8ca61568fb792e282c0890a9dbc13c7568ad2874e22a48586c9457431905b5a83e468be4b5ce61de04984539cd60dd0705965652169412dff92a7e06656ff WHIRLPOOL 7533637ae4dfa9c7dabd8c14fb8c19a8856a8a1e1d8170054ac503ef21d6871ab63111f659e4b166acb12bccff07314ed20e317768ac58f00d294d974f7f31ab diff --git a/dev-ruby/sanitize/sanitize-4.4.0.ebuild b/dev-ruby/sanitize/sanitize-4.4.0.ebuild new file mode 100644 index 0000000000000..d101f579746e8 --- /dev/null +++ b/dev-ruby/sanitize/sanitize-4.4.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 ruby23" + +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 +} |