summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-29 08:00:53 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-29 11:06:50 +0200
commit905ba285e35fd28f5ce8e4831383d7679887c28a (patch)
tree3658dae45ea3635bb4e440acdb98972dc915a0df /dev-ruby/loofah
parentdev-ruby/hitimes: add 2.0.0 (diff)
downloadgentoo-905ba285e35fd28f5ce8e4831383d7679887c28a.tar.gz
gentoo-905ba285e35fd28f5ce8e4831383d7679887c28a.tar.bz2
gentoo-905ba285e35fd28f5ce8e4831383d7679887c28a.zip
dev-ruby/loofah: add 2.3.0
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/loofah')
-rw-r--r--dev-ruby/loofah/Manifest1
-rw-r--r--dev-ruby/loofah/loofah-2.3.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/loofah/Manifest b/dev-ruby/loofah/Manifest
index 7b2fffcf3715..597dcdc04cb2 100644
--- a/dev-ruby/loofah/Manifest
+++ b/dev-ruby/loofah/Manifest
@@ -1 +1,2 @@
DIST loofah-2.2.3.gem 65536 BLAKE2B ce1dd5255b0089862d26926624ef6007416318b77f4eb818ff462d8f680f8ef901ecb6ae751e33e1881e303fd005a4bd776c0e6a575562ffb7fb0b62e376b753 SHA512 8e63e1d4e3719c2ffcc8cf3208dbdfa3eb6e328bb91fc8dc6de88c472aac47f1a22771928b08f3c6816c159c6a9672299823f5d48177ae543358e73444b8ac56
+DIST loofah-2.3.0.gem 68096 BLAKE2B a9c8a85aba97a7c3a72cb9fb09666ffd991f43c946725842c197fd787d7d27dfeeb153ae6c3ebf94b283cb06c25983a42221767419d2982145c87f22e7874d69 SHA512 fc933bb3c15f52ec1d0e3b2beaadd7b9d293d1cac2d5c639ff5e53ecc6e9de974aa5390e8caf499217abbb67853e0bee4e904f60b3e0be38dea4bdee5f3a65ad
diff --git a/dev-ruby/loofah/loofah-2.3.0.ebuild b/dev-ruby/loofah/loofah-2.3.0.ebuild
new file mode 100644
index 000000000000..7ea90a4b875b
--- /dev/null
+++ b/dev-ruby/loofah/loofah-2.3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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 )"
+
+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
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die
+}