diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-10-22 15:21:46 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-10-22 15:21:46 +0200 |
commit | 7d15e25827d1baa892276e605a4516b5a43b84ec (patch) | |
tree | d5ab7d8fc9299cb0f2fe5d4b2d99a378bfc1af15 /dev-ruby/loofah | |
parent | app-emacs/vm: Add live ebuild. (diff) | |
download | gentoo-7d15e25827d1baa892276e605a4516b5a43b84ec.tar.gz gentoo-7d15e25827d1baa892276e605a4516b5a43b84ec.tar.bz2 gentoo-7d15e25827d1baa892276e605a4516b5a43b84ec.zip |
dev-ruby/loofah: add 2.3.1
Package-Manager: Portage-2.3.76, 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/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/loofah/loofah-2.3.1.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/loofah/Manifest b/dev-ruby/loofah/Manifest index 597dcdc04cb2..5a898e0e0cd2 100644 --- a/dev-ruby/loofah/Manifest +++ b/dev-ruby/loofah/Manifest @@ -1,2 +1,3 @@ DIST loofah-2.2.3.gem 65536 BLAKE2B ce1dd5255b0089862d26926624ef6007416318b77f4eb818ff462d8f680f8ef901ecb6ae751e33e1881e303fd005a4bd776c0e6a575562ffb7fb0b62e376b753 SHA512 8e63e1d4e3719c2ffcc8cf3208dbdfa3eb6e328bb91fc8dc6de88c472aac47f1a22771928b08f3c6816c159c6a9672299823f5d48177ae543358e73444b8ac56 DIST loofah-2.3.0.gem 68096 BLAKE2B a9c8a85aba97a7c3a72cb9fb09666ffd991f43c946725842c197fd787d7d27dfeeb153ae6c3ebf94b283cb06c25983a42221767419d2982145c87f22e7874d69 SHA512 fc933bb3c15f52ec1d0e3b2beaadd7b9d293d1cac2d5c639ff5e53ecc6e9de974aa5390e8caf499217abbb67853e0bee4e904f60b3e0be38dea4bdee5f3a65ad +DIST loofah-2.3.1.gem 68096 BLAKE2B 367cf64fe458cdfb0af3dc57012d892f830a7aa0df2d30f66cde7c2f5c31c1f29be4d1b83b85f3167bca1bc02fb750a420bce655b803ca4992ded3061c8fc82c SHA512 188e84818abc3a3eed39afd66a75e7fa3c0a29f8ec957441f43f4cbfd962c8c3ea848e83f435a3d61ffc667273b5ff006df39d718b7631a11b62ae2d3f78b6ba diff --git a/dev-ruby/loofah/loofah-2.3.1.ebuild b/dev-ruby/loofah/loofah-2.3.1.ebuild new file mode 100644 index 000000000000..7ea90a4b875b --- /dev/null +++ b/dev-ruby/loofah/loofah-2.3.1.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 +} |