From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/rails: ChangeLog rails-2.3.8.ebuild |
Date: | Mon, 31 May 2010 06:10:07 |
Message-Id: | 20100531061003.66FAF2CF37@corvid.gentoo.org |
1 | graaff 10/05/31 06:10:03 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rails-2.3.8.ebuild |
5 | Log: |
6 | Bump for Rails 2.3.8. Drop ppc/ppc64 keywords due to new unkeyworded dependency. |
7 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.175 dev-ruby/rails/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.175&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.175&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.174&r2=1.175 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v |
19 | retrieving revision 1.174 |
20 | retrieving revision 1.175 |
21 | diff -u -r1.174 -r1.175 |
22 | --- ChangeLog 23 May 2010 11:03:14 -0000 1.174 |
23 | +++ ChangeLog 31 May 2010 06:10:03 -0000 1.175 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-ruby/rails |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.174 2010/05/23 11:03:14 a3li Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.175 2010/05/31 06:10:03 graaff Exp $ |
29 | + |
30 | +*rails-2.3.8 (31 May 2010) |
31 | + |
32 | + 31 May 2010; Hans de Graaff <graaff@g.o> +rails-2.3.8.ebuild: |
33 | + Bump for Rails 2.3.8. Drop ppc/ppc64 keywords due to new unkeyworded |
34 | + dependency. |
35 | |
36 | *rails-2.3.5-r3 (23 May 2010) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/rails/rails-2.3.8.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/rails-2.3.8.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/rails-2.3.8.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: rails-2.3.8.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 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.8.ebuild,v 1.1 2010/05/31 06:10:03 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 ~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 " |
83 | doc? ( dev-ruby/redcloth ) |
84 | test? ( dev-ruby/mocha )" |
85 | |
86 | all_ruby_prepare() { |
87 | sed -i -e '/horo/d' Rakefile || die |
88 | } |
89 | |
90 | all_ruby_compile() { |
91 | all_fakegem_compile |
92 | |
93 | # fails for missing template when using the gem distribution |
94 | #if use doc; then |
95 | # pushd guides |
96 | # ruby rails_guides.rb || die "guide generation failed" |
97 | # popd |
98 | #fi |
99 | } |
100 | all_ruby_install() { |
101 | all_fakegem_install |
102 | |
103 | ruby_fakegem_binwrapper rails rails-${PV} |
104 | |
105 | if use doc; then |
106 | #pushd guides/output |
107 | #docinto guides |
108 | #dohtml -r * |
109 | #popd |
110 | |
111 | pushd doc |
112 | docinto api |
113 | dohtml -r * |
114 | popd |
115 | fi |
116 | } |
117 | |
118 | pkg_postinst() { |
119 | elog "To select between slots of rails, use:" |
120 | elog "\teselect rails" |
121 | |
122 | eselect rails update |
123 | } |
124 | |
125 | pkg_postrm() { |
126 | eselect rails update |
127 | } |