Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/mocha: ChangeLog mocha-0.12.1.ebuild
Date: Thu, 02 Aug 2012 05:34:58
Message-Id: 20120802053437.DDAA32004B@flycatcher.gentoo.org
1 graaff 12/08/02 05:34:37
2
3 Modified: ChangeLog
4 Added: mocha-0.12.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.65 dev-ruby/mocha/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/ChangeLog?rev=1.65&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/ChangeLog?rev=1.65&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/ChangeLog?r1=1.64&r2=1.65
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v
20 retrieving revision 1.64
21 retrieving revision 1.65
22 diff -u -r1.64 -r1.65
23 --- ChangeLog 23 Jul 2012 06:27:31 -0000 1.64
24 +++ ChangeLog 2 Aug 2012 05:34:37 -0000 1.65
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.64 2012/07/23 06:27:31 jdhore Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/ChangeLog,v 1.65 2012/08/02 05:34:37 graaff Exp $
30 +
31 +*mocha-0.12.1 (27 Jul 2012)
32 +
33 + 27 Jul 2012; Hans de Graaff <graaff@g.o> +mocha-0.12.1.ebuild:
34 + Version bump.
35
36 23 Jul 2012; Jeff Horelick <jdhore@g.o> mocha-0.10.5.ebuild:
37 marked x86 per bug 427606
38
39
40
41 1.1 dev-ruby/mocha/mocha-0.12.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/mocha-0.12.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/mocha/mocha-0.12.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mocha-0.12.1.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.12.1.ebuild,v 1.1 2012/08/02 05:34:37 graaff 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="yardoc"
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://gofreerange.com/mocha/docs/"
67
68 LICENSE="MIT"
69 SLOT="0"
70 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~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/yard )"
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 each_ruby_test() {
91 ${RUBY} -Ilib -S testrb test/unit/* || die
92 }
93
94 all_ruby_install() {
95 all_fakegem_install
96
97 docinto examples
98 dodoc examples/*.rb || die
99 }