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/rails: rails-2.3.11.ebuild ChangeLog
Date: Mon, 21 Feb 2011 20:12:38
Message-Id: 20110221201222.6A1E520054@flycatcher.gentoo.org
1 graaff 11/02/21 20:12:22
2
3 Modified: ChangeLog
4 Added: rails-2.3.11.ebuild
5 Log:
6 Version bump for Rails 2.3.11.
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.186 dev-ruby/rails/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.186&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.186&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.185&r2=1.186
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v
20 retrieving revision 1.185
21 retrieving revision 1.186
22 diff -u -r1.185 -r1.186
23 --- ChangeLog 13 Feb 2011 21:11:07 -0000 1.185
24 +++ ChangeLog 21 Feb 2011 20:12:22 -0000 1.186
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/rails
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.185 2011/02/13 21:11:07 tomka Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.186 2011/02/21 20:12:22 graaff Exp $
30 +
31 +*rails-2.3.11 (21 Feb 2011)
32 +
33 + 21 Feb 2011; Hans de Graaff <graaff@g.o> +rails-2.3.11.ebuild:
34 + Version bump for Rails 2.3.11.
35
36 13 Feb 2011; Thomas Kahle <tomka@g.o> rails-3.0.3.ebuild:
37 keyworded ~x86 per bug 351835
38
39
40
41 1.1 dev-ruby/rails/rails-2.3.11.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/rails-2.3.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/rails-2.3.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rails-2.3.11.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.3.11.ebuild,v 1.1 2011/02/21 20:12:22 graaff Exp $
51
52 EAPI=2
53 USE_RUBY="ruby18 ree18"
54
55 RUBY_FAKEGEM_EXTRAINSTALL="builtin configs doc dispatches environments fresh_rakefile helpers html README"
56 RUBY_FAKEGEM_EXTRADOC="README CHANGELOG"
57
58 RUBY_FAKEGEM_BINWRAP=""
59
60 # gem lacks tests
61 RUBY_FAKEGEM_TASK_TEST=""
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="ruby on rails is a web-application and persistance framework"
66 HOMEPAGE="http://www.rubyonrails.org"
67
68 LICENSE="MIT"
69 SLOT="2.3"
70 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
71
72 IUSE=""
73
74 RDEPEND=">=app-admin/eselect-rails-0.15"
75
76 ruby_add_rdepend ">=dev-ruby/rake-0.8.3
77 ~dev-ruby/activerecord-${PV}
78 ~dev-ruby/activeresource-${PV}
79 ~dev-ruby/activesupport-${PV}
80 ~dev-ruby/actionmailer-${PV}
81 ~dev-ruby/actionpack-${PV}"
82 ruby_add_bdepend "doc? ( dev-ruby/redcloth )"
83
84 all_ruby_prepare() {
85 sed -i -e '/horo/d' Rakefile || die "Could not remove reference to unavailable documentation template."
86 }
87
88 all_ruby_install() {
89 all_fakegem_install
90
91 ruby_fakegem_binwrapper rails rails-${PV}
92
93 if use doc; then
94 pushd doc
95 docinto api
96 dohtml -r *
97 popd
98 fi
99 }
100
101 pkg_postinst() {
102 elog "To select between slots of rails, use:"
103 elog "\teselect rails"
104
105 eselect rails update
106 }
107
108 pkg_postrm() {
109 eselect rails update
110 }