diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-08-23 08:47:26 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-08-23 08:47:26 +0200 |
commit | 8148a96ac3282fc80e00bf6aaec556bddaee9efb (patch) | |
tree | a233d17416ed70ddd4e515d58b6f3b50bd5ea5bb /dev-ruby/wikicloth | |
parent | media-sound/spotify: fix typo for bug 557624 (diff) | |
download | gentoo-8148a96ac3282fc80e00bf6aaec556bddaee9efb.tar.gz gentoo-8148a96ac3282fc80e00bf6aaec556bddaee9efb.tar.bz2 gentoo-8148a96ac3282fc80e00bf6aaec556bddaee9efb.zip |
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
Diffstat (limited to 'dev-ruby/wikicloth')
-rw-r--r-- | dev-ruby/wikicloth/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/wikicloth/wikicloth-0.8.3.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/wikicloth/Manifest b/dev-ruby/wikicloth/Manifest index 0bdb1911a3a0..a24db776940c 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 000000000000..571987fab7d5 --- /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 +} |