Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/mocha: mocha-0.10.5.ebuild ChangeLog
Date: Wed, 29 Feb 2012 13:02:25
Message-Id: 20120229130213.E51282004B@flycatcher.gentoo.org
1 flameeyes 12/02/29 13:02:13
2
3 Modified: ChangeLog
4 Added: mocha-0.10.5.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.51 dev-ruby/mocha/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/ChangeLog?rev=1.51&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/ChangeLog?rev=1.51&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/ChangeLog?r1=1.50&r2=1.51
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v
20 retrieving revision 1.50
21 retrieving revision 1.51
22 diff -u -r1.50 -r1.51
23 --- ChangeLog 9 Feb 2012 18:07:42 -0000 1.50
24 +++ ChangeLog 29 Feb 2012 13:02:13 -0000 1.51
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/mocha
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v 1.50 2012/02/09 18:07:42 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v 1.51 2012/02/29 13:02:13 flameeyes Exp $
30 +
31 +*mocha-0.10.5 (29 Feb 2012)
32 +
33 + 29 Feb 2012; Diego E. Pettenò <flameeyes@g.o> +mocha-0.10.5.ebuild:
34 + Version bump.
35
36 09 Feb 2012; Fabian Groffen <grobian@g.o> mocha-0.10.3.ebuild:
37 Rekeyword for Prefix, bug #398985
38
39
40
41 1.1 dev-ruby/mocha/mocha-0.10.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/mocha-0.10.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/mocha-0.10.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mocha-0.10.5.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.10.5.ebuild,v 1.1 2012/02/29 13:02:13 flameeyes Exp $
51
52 EAPI=4
53 USE_RUBY="ruby18 ree18 ruby19 jruby"
54
55 RUBY_FAKEGEM_TASK_TEST="test:units"
56
57 RUBY_FAKEGEM_TASK_DOC="rdoc"
58 RUBY_FAKEGEM_DOCDIR="doc"
59 RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc"
60
61 RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="A Ruby library for mocking and stubbing using a syntax like that of JMock, and SchMock"
66 HOMEPAGE="http://mocha.rubyforge.org/"
67
68 LICENSE="MIT"
69 SLOT="0"
70 KEYWORDS="~amd64 ~hppa ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
71 IUSE=""
72
73 ruby_add_bdepend "
74 doc? ( dev-ruby/coderay )"
75
76 ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
77
78 all_ruby_prepare() {
79 sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
80 }
81
82 all_ruby_compile() {
83 all_fakegem_compile
84
85 if use doc; then
86 rake examples || die
87 fi
88 }
89
90 all_ruby_install() {
91 all_fakegem_install
92
93 docinto examples
94 dodoc examples/*.rb || die
95 }