summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-01-10 09:17:18 +0000
committerHans de Graaff <graaff@gentoo.org>2010-01-10 09:17:18 +0000
commita46662d829bc313e55e45864d6cea3d1f54d72da (patch)
treebb5db0f3ab60a5d606bc93aff57c6e1f60cc63a9 /dev-ruby/mocha
parentRemove kde-base/kdebase-runtime-meta from PDEPEND wrt #295456. (diff)
downloadgentoo-2-a46662d829bc313e55e45864d6cea3d1f54d72da.tar.gz
gentoo-2-a46662d829bc313e55e45864d6cea3d1f54d72da.tar.bz2
gentoo-2-a46662d829bc313e55e45864d6cea3d1f54d72da.zip
Add dev-ruby/coderay dependency to fix documentation generation; drop ia64/sparc keywords due to new dependency.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/mocha')
-rw-r--r--dev-ruby/mocha/ChangeLog8
-rw-r--r--dev-ruby/mocha/mocha-0.9.8-r2.ebuild39
2 files changed, 45 insertions, 2 deletions
diff --git a/dev-ruby/mocha/ChangeLog b/dev-ruby/mocha/ChangeLog
index 70524571bc0f..749ab911cdb8 100644
--- a/dev-ruby/mocha/ChangeLog
+++ b/dev-ruby/mocha/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/mocha
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v 1.13 2009/12/30 13:26:43 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v 1.14 2010/01/10 09:17:18 graaff Exp $
+
+ 10 Jan 2010; Hans de Graaff <graaff@gentoo.org> mocha-0.9.8-r2.ebuild:
+ Add coderay dependency to build the docs, fixes #299873.
+ Drop ~ia64 and ~sparc keywords because of this: #300372.
30 Dec 2009; Raúl Porcel <armin76@gentoo.org> mocha-0.9.8.ebuild,
mocha-0.9.8-r1.ebuild:
diff --git a/dev-ruby/mocha/mocha-0.9.8-r2.ebuild b/dev-ruby/mocha/mocha-0.9.8-r2.ebuild
new file mode 100644
index 000000000000..ebe07383c179
--- /dev/null
+++ b/dev-ruby/mocha/mocha-0.9.8-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.9.8-r2.ebuild,v 1.1 2010/01/10 09:17:18 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_TEST="test:units"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README RELEASE"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Ruby library for mocking and stubbing using a syntax like that of JMock, and SchMock"
+HOMEPAGE="http://mocha.rubyforge.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_bdepend test virtual/ruby-test-unit
+ruby_add_bdepend doc dev-ruby/coderay
+
+all_ruby_compile() {
+ all_fakegem_compile
+
+ if use doc; then
+ rake examples || die
+ fi
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ docinto examples
+ dodoc examples/*.rb || die
+}