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/rubigen: rubigen-1.5.7.ebuild ChangeLog
Date: Sun, 01 Jan 2012 08:47:52
Message-Id: 20120101084738.8C88D2004B@flycatcher.gentoo.org
1 graaff 12/01/01 08:47:38
2
3 Modified: ChangeLog
4 Added: rubigen-1.5.7.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 dev-ruby/rubigen/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubigen/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubigen/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubigen/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rubigen/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 26 Dec 2011 09:26:20 -0000 1.11
24 +++ ChangeLog 1 Jan 2012 08:47:38 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/rubigen
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubigen/ChangeLog,v 1.11 2011/12/26 09:26:20 graaff Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubigen/ChangeLog,v 1.12 2012/01/01 08:47:38 graaff Exp $
31 +
32 +*rubigen-1.5.7 (01 Jan 2012)
33 +
34 + 01 Jan 2012; Hans de Graaff <graaff@g.o> +rubigen-1.5.7.ebuild:
35 + Version bump.
36
37 26 Dec 2011; Hans de Graaff <graaff@g.o> -rubigen-1.5.5.ebuild:
38 Remove old version.
39
40
41
42 1.1 dev-ruby/rubigen/rubigen-1.5.7.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubigen/rubigen-1.5.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubigen/rubigen-1.5.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rubigen-1.5.7.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubigen/rubigen-1.5.7.ebuild,v 1.1 2012/01/01 08:47:38 graaff Exp $
52
53 EAPI="2"
54 USE_RUBY="ruby18 ree18"
55
56 RUBY_FAKEGEM_TASK_DOC="docs"
57 RUBY_FAKEGEM_DOCDIR="doc"
58 RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc Todo.txt"
59
60 RUBY_FAKEGEM_EXTRAINSTALL="app_generators generators rubygems_generators script test_unit_generators"
61
62 inherit ruby-fakegem
63
64 DESCRIPTION="A framework to allow Ruby applications to generate file/folder stubs."
65 HOMEPAGE="https://github.com/drnic/rubigen"
66
67 LICENSE="MIT"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc64 ~x86"
70 IUSE=""
71
72 # The presence of a self-dependency is needed as per bug #320781;
73 # since this is a bad situation, don't close the bug, but try working
74 # it around.
75 ruby_add_bdepend "test? (
76 >=dev-ruby/mocha-0.9.8
77 >=dev-ruby/shoulda-2.10.3
78 >=dev-util/cucumber-0.6.2
79 >=dev-ruby/hoe-2.5.0
80 =${CATEGORY}/${PF}
81 )"
82
83 ruby_add_rdepend "=dev-ruby/activesupport-2.3*"
84
85 all_ruby_prepare() {
86 # Remove newgem requirement from the Rakefile since it is not
87 # needed for our purposes and we don't have it in CVS.
88 sed -i '/newgem/d' Rakefile || die "Unable to remove unneeded newgem support."
89
90 # Provide missing file for test_generate_builtin_application.rb
91 mkdir -p app_generators/ruby_app/templates/configs || die
92 touch app_generators/ruby_app/templates/configs/empty_log || die
93
94 # Needs to be explicit, most likely due to changes in newer cucumber.
95 sed -i -e '2 i include Spec::Matchers' features/support/matchers.rb || die
96 }
97
98 each_ruby_test() {
99 each_fakegem_test
100
101 # Run all features not related to creating and distributing the gem itself
102 ${RUBY} -S cucumber features/help.feature features/rubigen_cli.feature || die "tests failed"
103 }