diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-09-25 07:23:10 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-09-25 07:23:10 +0200 |
commit | d03a17ed5595e1645aeb93ae372570dd6e88d2e9 (patch) | |
tree | 273565891a877133f3478c9402ff37912ec1a870 /dev-ruby/loofah | |
parent | dev-ruby/crass: add ruby24 (diff) | |
download | gentoo-d03a17ed5595e1645aeb93ae372570dd6e88d2e9.tar.gz gentoo-d03a17ed5595e1645aeb93ae372570dd6e88d2e9.tar.bz2 gentoo-d03a17ed5595e1645aeb93ae372570dd6e88d2e9.zip |
dev-ruby/loofah: add 2.1.1, drop ~arm, ~ppc, ~ppc64 bug 631974
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/loofah')
-rw-r--r-- | dev-ruby/loofah/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/loofah/loofah-2.1.1.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/loofah/Manifest b/dev-ruby/loofah/Manifest index 80a9b6039767..95340bca47c5 100644 --- a/dev-ruby/loofah/Manifest +++ b/dev-ruby/loofah/Manifest @@ -1 +1,2 @@ DIST loofah-2.0.3.gem 60416 SHA256 48c76e74f25229e0f492c2aaf770253fe44b162a0d18c2de1c59831b44d13781 SHA512 1f08bcfa09bf075b4d84707099cce6bdaa986cd6c79f63fc60c8bee4812c5a31cee1021cd314fc2033842d7b01ffe63f5f6acbf271a0db2ee631cd326520d700 WHIRLPOOL 6dc1ec2c70d8cd89e58fd59e4c656d2d780b3b9d0ac41434d3511dca1b38cd89e1156b3804a4121b1fc578a784331bffe5c47033b36b7a96579c8d3374ecafbf +DIST loofah-2.1.1.gem 61440 SHA256 4cfd95a1b4399a55bb52810775c0593f72f4ef018a71779de050e7c45c54e218 SHA512 16499113ba3b435ba2cd3a583ed958db7f02604a56d87125341d5c143602ed9755272598faef9995be57f2b408c4696675f69cf5fb15d472c958e16f46c35d58 WHIRLPOOL 22e5817fd800b3a6376e8b1edb4176fd07c962fd1dc52a3c30d53ded1bea4b6c95da42bbb8eea28c15e0fafd2270b43a692a5945fb20064c87b7ccc27d70bed5 diff --git a/dev-ruby/loofah/loofah-2.1.1.ebuild b/dev-ruby/loofah/loofah-2.1.1.ebuild new file mode 100644 index 000000000000..dd9dcf1e74ff --- /dev/null +++ b/dev-ruby/loofah/loofah-2.1.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Library for manipulating and transforming HTML/XML documents and fragments." +HOMEPAGE="https://github.com/flavorjones/loofah" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend "=dev-ruby/crass-1.0* >=dev-ruby/crass-1.0.2 >=dev-ruby/nokogiri-1.5.9" + +ruby_add_bdepend "test? ( >=dev-ruby/rr-1.1.0 >=dev-ruby/hoe-2.3.0 )" + +all_ruby_prepare() { + # Avoid unneeded development dependencies + sed -i -e '/concourse/I s:^:#:' Rakefile || die + + # Avoid test failing on different whitespace. + sed -i -e '/test_fragment_whitewash_on_microsofty_markup/askip "gentoo"' test/integration/test_ad_hoc.rb || die + + # Fix test for new libxml2 results (fixed upstream) + #sed -i -e '348i "xhtml": "<<script>alert(\\\"XSS\\\");//<</script>",' test/assets/testdata_sanitizer_tests1.dat || die +} |