forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.5, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST sanitize-2.1.0.gem 20992 SHA256 c3be075f5b38a1b02404be5778b181e50fba9ab253bac851cb217d9a71375b77 SHA512 29a26e37342a75af2bc7795578edf2c5064263c58d38dfc36e18f1e111271616c026f7d808a05d63185c12f0e52384db84d62bdb796bf1b21d7e902ef0c1d096 WHIRLPOOL f07c3f7c3550b1e47e3189838a8c1c30c7cd856f237dde167516f25e86520fffe7357f87efd4f2fcf03230650fa55da0ff2d7870746c72c9897318f6dc935cc6 | ||
DIST sanitize-4.4.0.tar.gz 1346967 SHA256 6dc4245523d66fdbe3e54d0918d713dbdcad29382946882d26d7114f91433d79 SHA512 6cd8ca61568fb792e282c0890a9dbc13c7568ad2874e22a48586c9457431905b5a83e468be4b5ce61de04984539cd60dd0705965652169412dff92a7e06656ff WHIRLPOOL 7533637ae4dfa9c7dabd8c14fb8c19a8856a8a1e1d8170054ac503ef21d6871ab63111f659e4b166acb12bccff07314ed20e317768ac58f00d294d974f7f31ab | ||
DIST sanitize-4.5.0.tar.gz 1347295 SHA256 748f1d5ed70903084c6c3e732d85da8f84f5132b058da0b2e1b9279b7ccbd0a2 SHA512 2be26bf42c83d7a181a57a9cb1cf63a2287866147590094d7ae4153c017ed997f2caf5a3cf4bfdd23c36706d416375267d4798bfb30d1d293572365cd8959226 WHIRLPOOL 61f474893d1521d32c40c2a88276014a9c5c4d6fd776975e7a8b882be14e3e706baf062c806169acaaf63de8781dcc80a694cfd5c448d3dcdb3cc4eec3271ad3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
USE_RUBY="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 | ||
} |