summaryrefslogtreecommitdiff
path: root/dev-ruby/loofah
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
commitfeb0daf81d888e9160f9f94502de09b66f2a63fd (patch)
treeb6e5c40ce2abef3da27ed50a023153f475e0ddef /dev-ruby/loofah
parent9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff)
gentoo resync : 21.06.2020
Diffstat (limited to 'dev-ruby/loofah')
-rw-r--r--dev-ruby/loofah/Manifest2
-rw-r--r--dev-ruby/loofah/loofah-2.6.0.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/loofah/Manifest b/dev-ruby/loofah/Manifest
index 5eab41bbac3e..52f39f0a6fcd 100644
--- a/dev-ruby/loofah/Manifest
+++ b/dev-ruby/loofah/Manifest
@@ -1,5 +1,7 @@
DIST loofah-2.4.0.gem 68096 BLAKE2B 7bffd489c6234b3afeebafad5029802aa0370ded269de018517e914c4c2ec151936e899c633e157045f93dce3e0d829e9821a3ab42447f71ca679f1bd3965423 SHA512 95bea374c0cf9e49becd4533c141a6ebb388f4ae0a1c27263612d3a4089177fd97956e4fbe7a8c8a8b17d8d69387e4629cf7c004f17008fb592f6b71297ed22a
DIST loofah-2.5.0.tar.gz 68497 BLAKE2B a4e13bb4b7e5b76b9cc753031617110c61db8b7f13c2dc7f0f9423a1ff106e45e79f62b80f595a3e1e2958de9ed717e718b5d58e57a32d4baaa2d8355713580e SHA512 77d84a26f93605bf231e893dd7b010013d97077ceed44ae16164210f029a044e36d5bcacebffbbefdd8fe371e7ab0aa322bc48565c2ccaed1e8a386385176301
+DIST loofah-2.6.0.tar.gz 68970 BLAKE2B 507e907e9c744734594dbb0aefdfb76f57f57ccb9fde6c52b15b56289d6cbeb8c1a7bc0fff0259d22204c45f55b06a360cb56e8c8731736a0d70ef079e006cbb SHA512 6c3948844b5f66f14a86049fa0527967a120df9a51661bab88449f0a60093493b5b948901b7227995747d253d915ca0176f708b126000036ca3396b794cd49db
EBUILD loofah-2.4.0.ebuild 983 BLAKE2B a49a9f19dc1807454a880247684007e31f7339747c4b783685a44944d9acd6f804a9ce84a3da46b971710896c973a454bdab4f8ddb3271ab646018022ed26309 SHA512 0a696fdd8a3f2a465d00b17aa4b6f81cc4771db0582456231ed966d2baddc6a270a77b9ddd0aaadb45160d42829b9f800b96fef2ed283aa0606771689c7d64fe
EBUILD loofah-2.5.0-r2.ebuild 1209 BLAKE2B 5ea9866c4d1325c53d8dbec8150472ea0fdef9153ee9c5d00c5af1e9e84268315b9961af09e767e32d885bd6eecc13f3b6f3d5351866125f1d2763b635f7f3b3 SHA512 49a5e36fbf844f5cd95995f59ca4b40e9c0dca7402876f68f7371fd386572141e21acec71698d9c1caa875fe7a61285199e321cb74afb61681b80d85aa19f781
+EBUILD loofah-2.6.0.ebuild 1202 BLAKE2B 83fb1e4b343ee497f40b70ce1c3e046444b7fa0f1488e8f32151cf9fe2723ce9cc7fec6e9d86261d4aefa509107de8097d12a5bee4c7f0aa8434fa5ea352ae6f SHA512 3457ced09ef046a6b8c4b11f3523eb15a3ea35988ada5720bcca8804decab09c907d54f6932849b78543e59a3d60e2f1e2febd970c9c04cd27b24892ad7dea57
MISC metadata.xml 344 BLAKE2B a3f2ff5b2aab094581e9f6a3874fbc35fde908d210ea6fbe3643bf8ffcae21de206d0d6afa5055ef3f9dc520778aebfe182dc6018bebc19b075e717278b7babc SHA512 dbcf17023520a30b8d578f04db73d0a67851199b31589473c9bddf1d82f6096d78369ce1b943f05cca904f1bdb2a09adc605a3dc5d8d4e64db5df152b89dd843
diff --git a/dev-ruby/loofah/loofah-2.6.0.ebuild b/dev-ruby/loofah/loofah-2.6.0.ebuild
new file mode 100644
index 000000000000..8df5a613a61f
--- /dev/null
+++ b/dev-ruby/loofah/loofah-2.6.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="loofah.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Library for manipulating and transforming HTML/XML documents and fragments."
+HOMEPAGE="https://github.com/flavorjones/loofah"
+SRC_URI="https://github.com/flavorjones/loofah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~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 )"
+
+all_ruby_prepare() {
+ # Fix version in gemspec
+ sed -i -e '/s.version/ s/".*"/"'${PV}'"/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # 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
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}