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: ChangeLog rails-2.0.5.ebuild
Date: Mon, 20 Oct 2008 19:35:48
Message-Id: E1Ks0Xb-00048g-0I@stork.gentoo.org
1 graaff 08/10/20 19:35:46
2
3 Modified: ChangeLog
4 Added: rails-2.0.5.ebuild
5 Log:
6 Version bump for Rails 2.0.5
7 (Portage version: 2.1.4.5)
8
9 Revision Changes Path
10 1.113 dev-ruby/rails/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.113&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.113&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.112&r2=1.113
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v
19 retrieving revision 1.112
20 retrieving revision 1.113
21 diff -u -r1.112 -r1.113
22 --- ChangeLog 13 Sep 2008 09:09:14 -0000 1.112
23 +++ ChangeLog 20 Oct 2008 19:35:46 -0000 1.113
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/rails
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.112 2008/09/13 09:09:14 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.113 2008/10/20 19:35:46 graaff Exp $
29 +
30 +*rails-2.0.5 (20 Oct 2008)
31 +
32 + 20 Oct 2008; Hans de Graaff <graaff@g.o> +rails-2.0.5.ebuild:
33 + Version bump for Rails 2.0.5
34
35 *rails-2.1.1 (13 Sep 2008)
36
37
38
39
40 1.1 dev-ruby/rails/rails-2.0.5.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.0.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.0.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rails-2.0.5.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.0.5.ebuild,v 1.1 2008/10/20 19:35:46 graaff Exp $
50
51 inherit ruby gems
52
53 DESCRIPTION="ruby on rails is a web-application and persistance framework"
54 HOMEPAGE="http://www.rubyonrails.org"
55
56 LICENSE="MIT"
57 SLOT="2"
58 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
59
60 IUSE="fastcgi"
61 DEPEND=">=dev-lang/ruby-1.8.5
62 >=app-admin/eselect-rails-0.11
63 >=dev-ruby/rake-0.7.2
64 ~dev-ruby/activerecord-2.0.5
65 ~dev-ruby/activeresource-2.0.5
66 ~dev-ruby/activesupport-2.0.5
67 ~dev-ruby/actionmailer-2.0.5
68 ~dev-ruby/actionpack-2.0.5
69 !<dev-ruby/rails-1.1.6-r1"
70
71 RDEPEND="${DEPEND}
72 fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )"
73
74 src_install() {
75 gems_src_install
76 # Rename slotted files that may clash so that eselect can handle
77 # them
78 mv "${D}/usr/bin/rails" "${D}/usr/bin/rails-${PV}"
79 mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}"
80 }
81
82 pkg_postinst() {
83 einfo "To select between slots of rails, use:"
84 einfo "\teselect rails"
85 # Bring users to rails 2.0.x by default when updating
86 eselect rails update 2
87
88 ewarn "All database USE flags have been moved to dev-ruby/activerecord"
89 }
90
91 pkg_postrm() {
92 # Drop users back to rails 1.2.x when they remove 2.0.x
93 eselect rails update 1.2
94 }