From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E04951397F2 for ; Sun, 23 Aug 2015 06:47:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30686141AD; Sun, 23 Aug 2015 06:47:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF9CC141AD for ; Sun, 23 Aug 2015 06:47:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B9A534087C for ; Sun, 23 Aug 2015 06:47:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0730614B for ; Sun, 23 Aug 2015 06:47:45 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1440312446.8148a96ac3282fc80e00bf6aaec556bddaee9efb.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/wikicloth/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/wikicloth/Manifest dev-ruby/wikicloth/wikicloth-0.8.3.ebuild X-VCS-Directories: dev-ruby/wikicloth/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 8148a96ac3282fc80e00bf6aaec556bddaee9efb X-VCS-Branch: master Date: Sun, 23 Aug 2015 06:47:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: efc50cb9-d91f-407e-8209-9ffd2e7ef5cd X-Archives-Hash: 6eceda1ec22bf0f0cdd1aedd8e41433b commit: 8148a96ac3282fc80e00bf6aaec556bddaee9efb Author: Hans de Graaff gentoo org> AuthorDate: Sun Aug 23 06:47:26 2015 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Aug 23 06:47:26 2015 +0000 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 0000000..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 +}