[gentoo-commits] repo/gentoo:master commit in: dev-ruby/wikicloth/files/, dev-ruby/wikicloth/
commit: bb90530d2d255ec025bff6db16ccdc6eb141d06d Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 12 09:29:12 2018 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 12 09:29:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb90530d dev-ruby/wikicloth: remove masked package, bug 661262 Signed-off-by: Hans de Graaff gentoo.org> 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(-) diff --git a/dev-ruby/wikicloth/Manifest b/dev-ruby/wikicloth/Manifest deleted file mode 100644 index 13b48d3fa5e..000 --- 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 b50752a9ae9..000 --- 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\;>https://github.com/repo/README.md ", data -+assert_equal "\n amp lt https://github.com/repo/README.md\;>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?("\nTable of Contents\nA\n") -+assert data.include?('Table of ContentsA') - 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?("\nTable of Contents\n\nA\nBC\n\n\n") -+puts data -+assert data.include?('Table of ContentsABC') - end - - test "toc numbered" do - wiki = WikiCloth::WikiCloth.new({:data => "=A=\n=B=\n==C==\n==D==\n===E===\n===F===\nG\nH\n==I==\n=J=\n=K=\n===L===\n===M===\nN\nO"}) - data = wiki.render(:noedit => true, :toc_numbered => true) --assert data.include?("\nTable of Contents\n\n1 A\n\n2 B\n2.1 C\n\n2.2 D\n2.2.1 E\n\n2.2.2 F\n2.2.2.1 G\n2.2.2.2 H\n\n\n\n\n2.3 I\n\n\n3 J\n\n4 K\n4.1 L\n\n4.2 M\n4.2.1 N\n4.2.2 O\n\n\n\n\n\n") -+assert data.include?('Table of Contents1 A2 B2.1 C2.2 D2.2.1 E2.2.2 F2.2.2.1 G2.2.2.2 H2.3 I3 J4 K4.1 L4.2 M4.2.1 N4.2.2 O') -+ - end - end diff --git a/dev-ruby/wikicloth/metadata.xml b/dev-ruby/wikicloth/metadata.xml deleted file mode 100644 index 548849f88c9..000 --- a/dev-ruby/wikicloth/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - -r...@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 9ad0db53216..000 --- a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/wikicloth/
commit: bf90255ad7cc4e4a5fb4f6202e423fd9f3171090 Author: Manuel Rüger gentoo org> AuthorDate: Sun Jan 22 00:43:19 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Jan 22 00:43:36 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf90255a dev-ruby/wikicloth: Add ruby23, drop ruby20 Package-Manager: portage-2.3.3 dev-ruby/wikicloth/wikicloth-0.8.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild index a47e422..c60f14b 100644 --- a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild +++ b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -USE_RUBY="ruby20 ruby21 ruby22" +USE_RUBY="ruby21 ruby22 ruby23" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README README.textile"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/wikicloth/, dev-ruby/wikicloth/files/
commit: afc0fa15411677a5f8e98dfa7cbf78735626c014 Author: Manuel Rüger gentoo org> AuthorDate: Sun Jan 22 00:46:32 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Jan 22 00:46:32 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc0fa15 dev-ruby/wikicloth: Apply patch to fix tests (partially) Package-Manager: portage-2.3.3 .../files/wikicloth-0.8.3-fix-tests.patch | 68 ++ dev-ruby/wikicloth/wikicloth-0.8.3.ebuild | 2 + 2 files changed, 70 insertions(+) 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 new file mode 100644 index ..b50752a --- /dev/null +++ b/dev-ruby/wikicloth/files/wikicloth-0.8.3-fix-tests.patch @@ -0,0 +1,68 @@ +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\;>https://github.com/repo/README.md ", data ++assert_equal "\n amp lt https://github.com/repo/README.md\;>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?("\nTable of Contents\nA\n") ++assert data.include?('Table of ContentsA') + 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?("\nTable of Contents\n\nA\nBC\n\n\n") ++puts data ++assert data.include?('Table of ContentsABC') + end + + test "toc numbered" do + wiki = WikiCloth::WikiCloth.new({:data => "=A=\n=B=\n==C==\n==D==\n===E===\n===F===\nG\nH\n==I==\n=J=\n=K=\n===L===\n===M===\nN\nO"}) + data = wiki.render(:noedit => true, :toc_numbered => true) +-assert data.include?("\nTable of Contents\n\n1 A\n\n2 B\n2.1 C\n\n2.2 D\n2.2.1 E\n\n2.2.2 F\n2.2.2.1 G\n2.2.2.2 H\n\n\n\n\n2.3 I\n\n\n3 J\n\n4 K\n4.1 L\n\n4.2 M\n4.2.1 N\n4.2.2 O\n\n\n\n\n\n") ++assert data.include?('Table of Contents1 A2 B2.1 C2.2 D2.2.1 E2.2.2 F2.2.2.1 G2.2.2.2 H2.3 I3 J4 K4.1 L4.2 M4.2.1 N4.2.2 O') ++ + end + end diff --git a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild index c60f14b..faf183d 100644 --- a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild +++ b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild @@ -19,6 +19,8 @@ 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
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/wikicloth/
commit: 83be7eae4dd655f29e2ba97ab55a3bed3141b0f9 Author: Hans de Graaff gentoo org> AuthorDate: Sat Oct 1 06:08:31 2016 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Oct 1 06:08:31 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83be7eae dev-ruby/wikicloth: cleanup Package-Manager: portage-2.3.0 dev-ruby/wikicloth/Manifest | 2 -- dev-ruby/wikicloth/wikicloth-0.8.1.ebuild | 38 -- dev-ruby/wikicloth/wikicloth-0.8.2.ebuild | 39 --- 3 files changed, 79 deletions(-) diff --git a/dev-ruby/wikicloth/Manifest b/dev-ruby/wikicloth/Manifest index a24db77..3a24532 100644 --- a/dev-ruby/wikicloth/Manifest +++ b/dev-ruby/wikicloth/Manifest @@ -1,3 +1 @@ -DIST wikicloth-0.8.1.tar.gz 120517 SHA256 687bc2f9821443e0934f89e05ccfdf488054d8b272249c4b3fbf5ceee88c9966 SHA512 b2ee6ad150abc7372e2f8638bb5fa8d0d6e652cfebf8db7c01642eb94420aed116b36a2e8351b1a26cb286b4c174147f99c6a8dd2813d62a08a8f073ac718924 WHIRLPOOL fdb09fb3f92fd7c47605d0686741b4abc3a1331c29625bcc13d45ef219deabff9e97f73e543120508f3b56517658f62d6f5b8f598439671364812d1444cc87b9 -DIST wikicloth-0.8.2.tar.gz 120323 SHA256 4532f266bd79f2d806531dca87da4f60549adeb141c35fb6281c458eb8956298 SHA512 a21c6fc09499114c5a04b3bfea14434a1025405aefe9b2ede19c08e266b8f20cbddfe174ce24e083f120d684c75668c719c85ece96517002b1f1457281c767e6 WHIRLPOOL 62c8ecdf9aee577d1f93835e04b43519aff7b92137a0d7a31d6aa1583c95c6b4e7448f23d1b66fe1a9d467df1a956f574bbc3548a8a11cea3d5e83c06a958bb2 DIST wikicloth-0.8.3.tar.gz 120576 SHA256 ddc8f1896bb0f040834a0d0ecd5f5bb0abefba09f70d24a481e8636f76e08a06 SHA512 8b9e1fbfd58a965ad93d5963d6b9e22eaf6b6805a4946b47a8b5f88071e4321c72f5715619622b404807a4b2bfcd6e966812a80b1f9c5fdd767cc6b7ade79221 WHIRLPOOL b91ba452bde5da228b6c50ff3b519b5c2f68df8906852ecbcf36dd6f564bdefb511ad8a473be7d58440a2c29e1350a59699c59098b6bacfbb9b9a814901f0888 diff --git a/dev-ruby/wikicloth/wikicloth-0.8.1.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.1.ebuild deleted file mode 100644 index 7cb6122.. --- a/dev-ruby/wikicloth/wikicloth-0.8.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -USE_RUBY="ruby20 ruby21" - -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_add_rdepend "dev-ruby/builder - dev-ruby/expression_parser" -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" -} - -each_ruby_test() { - ${RUBY} -Ilib:test test/*_test.rb || die -} diff --git a/dev-ruby/wikicloth/wikicloth-0.8.2.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.2.ebuild deleted file mode 100644 index 3444e8e.. --- a/dev-ruby/wikicloth/wikicloth-0.8.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -USE_RUBY="ruby20 ruby21" - -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_add_rdepend "dev-ruby/builder - dev-ruby/expression_parser - dev-ruby/rinku" -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" -} - -each_ruby_test() { - ${RUBY} -Ilib:test test/wiki_cloth_test.rb || die -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/wikicloth/
commit: 8e6b4eec3e1491c960006567b8a9358b5678f1e4 Author: Manuel Rüger gentoo org> AuthorDate: Mon Aug 29 08:22:47 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Mon Aug 29 08:22:47 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e6b4eec dev-ruby/wikicloth: Add ruby22 Package-Manager: portage-2.3.0 dev-ruby/wikicloth/wikicloth-0.8.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild index 3315c28..a47e422 100644 --- a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild +++ b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI=5 -USE_RUBY="ruby20 ruby21" +USE_RUBY="ruby20 ruby21 ruby22" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README README.textile"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/wikicloth/
commit: 71bedd0b5ba09701239269e90111dd45dd144dac Author: Manuel Rüger gentoo org> AuthorDate: Sun Apr 3 18:01:46 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Apr 3 18:03:18 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71bedd0b dev-ruby/wikicloth: Remove ruby19 Package-Manager: portage-2.2.28 dev-ruby/wikicloth/wikicloth-0.8.1.ebuild | 4 ++-- dev-ruby/wikicloth/wikicloth-0.8.2.ebuild | 4 ++-- dev-ruby/wikicloth/wikicloth-0.8.3.ebuild | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-ruby/wikicloth/wikicloth-0.8.1.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.1.ebuild index 1e97d2a..7cb6122 100644 --- a/dev-ruby/wikicloth/wikicloth-0.8.1.ebuild +++ b/dev-ruby/wikicloth/wikicloth-0.8.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -USE_RUBY="ruby19 ruby20 ruby21" +USE_RUBY="ruby20 ruby21" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README README.textile" diff --git a/dev-ruby/wikicloth/wikicloth-0.8.2.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.2.ebuild index df63a7e..3444e8e 100644 --- a/dev-ruby/wikicloth/wikicloth-0.8.2.ebuild +++ b/dev-ruby/wikicloth/wikicloth-0.8.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -USE_RUBY="ruby19 ruby20 ruby21" +USE_RUBY="ruby20 ruby21" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README README.textile" diff --git a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild index 571987f..3315c28 100644 --- a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild +++ b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -USE_RUBY="ruby19 ruby20 ruby21" +USE_RUBY="ruby20 ruby21" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README README.textile"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/wikicloth/
commit: 8148a96ac3282fc80e00bf6aaec556bddaee9efb Author: Hans de Graaff graaff AT gentoo DOT org AuthorDate: Sun Aug 23 06:47:26 2015 + Commit: Hans de Graaff graaff AT gentoo DOT org CommitDate: Sun Aug 23 06:47:26 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8148a96a dev-ruby/wikicloth: version bump Also fix tests by making sure to use the test-unit gem. Fix slot dependency for builder. Package-Manager: portage-2.2.20.1 dev-ruby/wikicloth/Manifest | 1 + dev-ruby/wikicloth/wikicloth-0.8.3.ebuild | 43 +++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/wikicloth/Manifest b/dev-ruby/wikicloth/Manifest index 0bdb191..a24db77 100644 --- a/dev-ruby/wikicloth/Manifest +++ b/dev-ruby/wikicloth/Manifest @@ -1,2 +1,3 @@ DIST wikicloth-0.8.1.tar.gz 120517 SHA256 687bc2f9821443e0934f89e05ccfdf488054d8b272249c4b3fbf5ceee88c9966 SHA512 b2ee6ad150abc7372e2f8638bb5fa8d0d6e652cfebf8db7c01642eb94420aed116b36a2e8351b1a26cb286b4c174147f99c6a8dd2813d62a08a8f073ac718924 WHIRLPOOL fdb09fb3f92fd7c47605d0686741b4abc3a1331c29625bcc13d45ef219deabff9e97f73e543120508f3b56517658f62d6f5b8f598439671364812d1444cc87b9 DIST wikicloth-0.8.2.tar.gz 120323 SHA256 4532f266bd79f2d806531dca87da4f60549adeb141c35fb6281c458eb8956298 SHA512 a21c6fc09499114c5a04b3bfea14434a1025405aefe9b2ede19c08e266b8f20cbddfe174ce24e083f120d684c75668c719c85ece96517002b1f1457281c767e6 WHIRLPOOL 62c8ecdf9aee577d1f93835e04b43519aff7b92137a0d7a31d6aa1583c95c6b4e7448f23d1b66fe1a9d467df1a956f574bbc3548a8a11cea3d5e83c06a958bb2 +DIST wikicloth-0.8.3.tar.gz 120576 SHA256 ddc8f1896bb0f040834a0d0ecd5f5bb0abefba09f70d24a481e8636f76e08a06 SHA512 8b9e1fbfd58a965ad93d5963d6b9e22eaf6b6805a4946b47a8b5f88071e4321c72f5715619622b404807a4b2bfcd6e966812a80b1f9c5fdd767cc6b7ade79221 WHIRLPOOL b91ba452bde5da228b6c50ff3b519b5c2f68df8906852ecbcf36dd6f564bdefb511ad8a473be7d58440a2c29e1350a59699c59098b6bacfbb9b9a814901f0888 diff --git a/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild new file mode 100644 index 000..571987f --- /dev/null +++ b/dev-ruby/wikicloth/wikicloth-0.8.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY=ruby19 ruby20 ruby21 + +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_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 +}