summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-15 19:07:22 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-15 19:07:22 +0000
commitf8d2d6d9faf6c151a4b0302f36aee452de3fe82c (patch)
treefe5f91525358dd5f12c1b92b54398699a84144b3 /dev-ruby/mocha
parentMarking bdftopcf-1.0.2 ppc64 for bug 294958 (diff)
downloadgentoo-2-f8d2d6d9faf6c151a4b0302f36aee452de3fe82c.tar.gz
gentoo-2-f8d2d6d9faf6c151a4b0302f36aee452de3fe82c.tar.bz2
gentoo-2-f8d2d6d9faf6c151a4b0302f36aee452de3fe82c.zip
Bump to ruby-fakegem.
(Portage version: 2.2_rc59/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-r1.ebuild38
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-ruby/mocha/ChangeLog b/dev-ruby/mocha/ChangeLog
index a9ef85a5d6d2..ba48581816b2 100644
--- a/dev-ruby/mocha/ChangeLog
+++ b/dev-ruby/mocha/ChangeLog
@@ -1,6 +1,12 @@
# 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.11 2009/12/09 19:47:11 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v 1.12 2009/12/15 19:07:22 flameeyes Exp $
+
+*mocha-0.9.8-r1 (15 Dec 2009)
+
+ 15 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +mocha-0.9.8-r1.ebuild:
+ Bump to ruby-fakegem.
09 Dec 2009; Hans de Graaff <graaff@gentoo.org> -mocha-0.9.7.ebuild:
Remove old version.
diff --git a/dev-ruby/mocha/mocha-0.9.8-r1.ebuild b/dev-ruby/mocha/mocha-0.9.8-r1.ebuild
new file mode 100644
index 000000000000..c94c0ab81820
--- /dev/null
+++ b/dev-ruby/mocha/mocha-0.9.8-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 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-r1.ebuild,v 1.1 2009/12/15 19:07:22 flameeyes 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
+
+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
+}