From bb90530d2d255ec025bff6db16ccdc6eb141d06d Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Wed, 12 Dec 2018 10:29:12 +0100 Subject: [PATCH] dev-ruby/wikicloth: remove masked package, bug 661262 Signed-off-by: Hans de Graaff --- dev-ruby/wikicloth/Manifest | 1 - .../files/wikicloth-0.8.3-fix-tests.patch | 68 ------------------- dev-ruby/wikicloth/metadata.xml | 11 --- dev-ruby/wikicloth/wikicloth-0.8.3.ebuild | 44 ------------ 4 files changed, 124 deletions(-) delete mode 100644 dev-ruby/wikicloth/Manifest delete mode 100644 dev-ruby/wikicloth/files/wikicloth-0.8.3-fix-tests.patch delete mode 100644 dev-ruby/wikicloth/metadata.xml delete mode 100644 dev-ruby/wikicloth/wikicloth-0.8.3.ebuild diff --git a/dev-ruby/wikicloth/Manifest b/dev-ruby/wikicloth/Manifest deleted file mode 100644 index 13b48d3fa5eb..000000000000 --- a/dev-ruby/wikicloth/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST wikicloth-0.8.3.tar.gz 120576 BLAKE2B 50b9982e048ec095264b2aa1f965e25ca5f8082ed0e2a7803546dcf7e904465dcdcdc84756caa8f9ae580333f5d86fde735f327e60a9b1ab7eb007c94e73629b SHA512 8b9e1fbfd58a965ad93d5963d6b9e22eaf6b6805a4946b47a8b5f88071e4321c72f5715619622b404807a4b2bfcd6e966812a80b1f9c5fdd767cc6b7ade79221 diff --git a/dev-ruby/wikicloth/files/wikicloth-0.8.3-fix-tests.patch b/dev-ruby/wikicloth/files/wikicloth-0.8.3-fix-tests.patch deleted file mode 100644 index b50752a9ae9b..000000000000 --- a/dev-ruby/wikicloth/files/wikicloth-0.8.3-fix-tests.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 5c84028cadb36e7e2a220c7ab05398722c6d0e84 Mon Sep 17 00:00:00 2001 -From: Per Andersson -Date: Sat, 10 Oct 2015 22:33:58 +0200 -Subject: [PATCH 1/2] Update output assert in autolinking pre statement - -The
 tag doesn't keep html entities.
----
- test/wiki_cloth_test.rb | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test/wiki_cloth_test.rb b/test/wiki_cloth_test.rb
-index 2f0481a..483cecf 100644
---- a/test/wiki_cloth_test.rb
-+++ b/test/wiki_cloth_test.rb
-@@ -58,7 +58,7 @@ class WikiClothTest < Test::Unit::TestCase
-   test "autolinking keeps html entities intact" do
-     wiki = WikiCloth::Parser.new(:data => "
& >
& <
https://github.com/repo/README.md > &") - data = wiki.to_html -- assert_equal "\n

& >
& <
https://github.com/repo/README.md > &

", data -+ assert_equal "\n

& >
&amp; &lt;
https://github.com/repo/README.md > &

", data - end - - test "image url override" do - -From a7eccc2970b0f1b1973881fe139b1f2cb51af2eb Mon Sep 17 00:00:00 2001 -From: Per Andersson -Date: Sat, 10 Oct 2015 22:40:25 +0200 -Subject: [PATCH 2/2] Update output for table of content tests - -Newlines seems to have been removed from HTML output for TOC. - -* empty item in toc -* toc declared as list -* toc numbered ---- - test/wiki_cloth_test.rb | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/test/wiki_cloth_test.rb b/test/wiki_cloth_test.rb -index 483cecf..198295c 100644 ---- a/test/wiki_cloth_test.rb -+++ b/test/wiki_cloth_test.rb -@@ -446,7 +446,7 @@ class WikiClothTest < Test::Unit::TestCase - test "empty item in toc" do - wiki = WikiCloth::WikiCloth.new({:data => "__TOC__\n=A="}) - data = wiki.render -- assert data.include?("
\n

Table of Contents

\n\n
") -+ assert data.include?('

Table of Contents

') - end - - test "pre at beginning" do -@@ -458,12 +458,14 @@ class WikiClothTest < Test::Unit::TestCase - test "toc declared as list" do - wiki = WikiCloth::WikiCloth.new({:data => "__TOC__\n=A=\n==B==\n===C==="}) - data = wiki.render -- assert data.include?("
\n

Table of Contents

\n\n
") -+ puts data -+ assert data.include?('

Table of Contents

') - end - - test "toc numbered" do - wiki = WikiCloth::WikiCloth.new({:data => "=A=\n=B=\n==C==\n==D==\n===E===\n===F===\n====G====\n====H====\n==I==\n=J=\n=K=\n===L===\n===M===\n====N====\n====O===="}) - data = wiki.render(:noedit => true, :toc_numbered => true) -- assert data.include?("
\n

Table of Contents

\n\n
") -+ assert data.include?('

Table of Contents

') -+ - end - end diff --git a/dev-ruby/wikicloth/metadata.xml b/dev-ruby/wikicloth/metadata.xml deleted file mode 100644 index 548849f88c99..000000000000 --- a/dev-ruby/wikicloth/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - ruby@gentoo.org - Gentoo Ruby Project - - - nricciar/wikicloth - - diff --git a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild deleted file mode 100644 index 9ad0db532163..000000000000 --- a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="README README.textile" - -inherit ruby-fakegem - -DESCRIPTION="A mediawiki parser" -HOMEPAGE="https://github.com/nricciar/wikicloth" -SRC_URI="https://github.com/nricciar/wikicloth/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RUBY_PATCHES=( "${FILESDIR}"/${P}-fix-tests.patch ) - -ruby_add_rdepend "dev-ruby/builder:* - dev-ruby/expression_parser - dev-ruby/htmlentities - dev-ruby/nokogiri - dev-ruby/rinku - dev-ruby/twitter-text" -ruby_add_bdepend "test? ( - dev-ruby/activesupport - dev-ruby/test-unit - dev-ruby/i18n )" - -all_ruby_prepare() { - sed -i \ - -e '/[Bb]undler/d' \ - -e "/require 'simplecov'/d" \ - Rakefile || die "sed failed" - sed -i -e '1igem "test-unit"' test/test_helper.rb -} - -each_ruby_test() { - ${RUBY} -Ilib:test test/wiki_cloth_test.rb || die -} -- 2.26.2