diff options
Diffstat (limited to 'dev-ruby/loofah')
-rw-r--r-- | dev-ruby/loofah/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/loofah/loofah-2.2.1.ebuild | 33 | ||||
-rw-r--r-- | dev-ruby/loofah/loofah-2.2.2.ebuild | 30 | ||||
-rw-r--r-- | dev-ruby/loofah/metadata.xml | 11 |
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-ruby/loofah/Manifest b/dev-ruby/loofah/Manifest new file mode 100644 index 000000000000..643fbc704238 --- /dev/null +++ b/dev-ruby/loofah/Manifest @@ -0,0 +1,5 @@ +DIST loofah-2.2.1.gem 65024 BLAKE2B dfa45264e9dc0cb4c9fd8eaff8831b5098ae9c1e7fd46d3e965362e46851d5b19102fb23dc96393091ca8e2f8bd9a12f5098ace3c2d6e25236a33fa5f2579c69 SHA512 df971a1bee08f0ee0913af2b4b7baefa6d1ad04af82de796f6f0d505fab7749d52ce79db0118343d336bdae6fcfd4190fecb315019b2c821d81ac1c08d5b8e2a +DIST loofah-2.2.2.gem 65024 BLAKE2B 4ddb20943b4258c4be621439d38b094dfc79947f092ffa2ff9af56db40538e9672f50762562ffbe5b7c5788fe12ab07ff7601383cfe7e6fc0f4209dad9edceee SHA512 3c64182f8fdb7d79a5be65969728c4c51a4535f53fdae7c8e5f4d487d43af3efac9d2f3746d8e02564d0979e94a0e63dc5974701c151e31c502cb8ff97f1295e +EBUILD loofah-2.2.1.ebuild 1111 BLAKE2B fcc45fdf8a497aa038a01fab8a22e771c993bee533ddc22ead0eac920da70432f2760a71db12446ddb0e864a97143c48296a67aac1a29b39496b13282f78ab22 SHA512 0f64103eaa919ba66c76cbaa8eb144cf1bef933df1f98038d28d661831c121ae13fde36d56754912ec26aa8ffd34b75d71b4974d2fe8010a3504c5ca40b93d43 +EBUILD loofah-2.2.2.ebuild 924 BLAKE2B 015abb2fbea74e8b0fd80b61468b2f61bd0373ee875e7432cef854216a4803a279c059ccd0d389e5c6445e26b4b4569f2eba2fc868d85cd4bf7d092c4b3ce19c SHA512 c52803149543808a0f0032d27db48e9b15d5373a0d7cd44d1a6325f9c016ea7a39b04db8f525dce8d5ab582d5d00769221ca47df5ac0a21f3dcec8e82a4a431f +MISC metadata.xml 344 BLAKE2B a3f2ff5b2aab094581e9f6a3874fbc35fde908d210ea6fbe3643bf8ffcae21de206d0d6afa5055ef3f9dc520778aebfe182dc6018bebc19b075e717278b7babc SHA512 dbcf17023520a30b8d578f04db73d0a67851199b31589473c9bddf1d82f6096d78369ce1b943f05cca904f1bdb2a09adc605a3dc5d8d4e64db5df152b89dd843 diff --git a/dev-ruby/loofah/loofah-2.2.1.ebuild b/dev-ruby/loofah/loofah-2.2.1.ebuild new file mode 100644 index 000000000000..de5c55886283 --- /dev/null +++ b/dev-ruby/loofah/loofah-2.2.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 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.md" + +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 ~arm64 ~hppa ~ppc ~ppc64 ~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 +} diff --git a/dev-ruby/loofah/loofah-2.2.2.ebuild b/dev-ruby/loofah/loofah-2.2.2.ebuild new file mode 100644 index 000000000000..e26b8c34f427 --- /dev/null +++ b/dev-ruby/loofah/loofah-2.2.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~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 +} diff --git a/dev-ruby/loofah/metadata.xml b/dev-ruby/loofah/metadata.xml new file mode 100644 index 000000000000..d1a9caad0ead --- /dev/null +++ b/dev-ruby/loofah/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">flavorjones/loofah</remote-id> + </upstream> +</pkgmetadata> |