diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-09-22 08:02:53 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-09-22 08:05:19 +0200 |
commit | 9e4b0171ee6fd4434e0dbaf6fe7495c3a890fccb (patch) | |
tree | 877e44e15bcb598867e97abfe785a3a8408b86c3 | |
parent | dev-ruby/sanitize: cleanup (diff) | |
download | gentoo-9e4b0171ee6fd4434e0dbaf6fe7495c3a890fccb.tar.gz gentoo-9e4b0171ee6fd4434e0dbaf6fe7495c3a890fccb.tar.bz2 gentoo-9e4b0171ee6fd4434e0dbaf6fe7495c3a890fccb.zip |
dev-ruby/sanitize: add 4.3.0
Package-Manager: portage-2.2.28
-rw-r--r-- | dev-ruby/sanitize/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sanitize/sanitize-4.3.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/sanitize/Manifest b/dev-ruby/sanitize/Manifest index 1befd1dc67f9..57dffa436604 100644 --- a/dev-ruby/sanitize/Manifest +++ b/dev-ruby/sanitize/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-ruby/sanitize/sanitize-4.3.0.ebuild b/dev-ruby/sanitize/sanitize-4.3.0.ebuild new file mode 100644 index 000000000000..d101f579746e --- /dev/null +++ b/dev-ruby/sanitize/sanitize-4.3.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 +} |