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: metadata.xml ChangeLog rails-3.1.3-r1.ebuild
Date: Mon, 02 Jan 2012 20:15:56
Message-Id: 20120102201545.BF29920034@flycatcher.gentoo.org
1 graaff 12/01/02 20:15:45
2
3 Modified: metadata.xml ChangeLog
4 Added: rails-3.1.3-r1.ebuild
5 Log:
6 Revision bump which also installs the components of the default Rails asset pipeline by default.
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 dev-ruby/rails/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 16 Feb 2005 05:48:13 -0000 1.1
24 +++ metadata.xml 2 Jan 2012 20:15:45 -0000 1.2
25 @@ -1,5 +1,12 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>ruby</herd>
30 + <herd>ruby</herd>
31 + <use>
32 + <flag name="asset-pipeline">
33 + Also install the default components for the asset pipeline.
34 + These are not required but they are activated automatically
35 + in new Rails projects by default.
36 + </flag>
37 + </use>
38 </pkgmetadata>
39
40
41
42 1.212 dev-ruby/rails/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.212&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.212&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.211&r2=1.212
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v
51 retrieving revision 1.211
52 retrieving revision 1.212
53 diff -u -r1.211 -r1.212
54 --- ChangeLog 31 Dec 2011 21:46:49 -0000 1.211
55 +++ ChangeLog 2 Jan 2012 20:15:45 -0000 1.212
56 @@ -1,6 +1,13 @@
57 # ChangeLog for dev-ruby/rails
58 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.211 2011/12/31 21:46:49 grobian Exp $
60 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
61 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.212 2012/01/02 20:15:45 graaff Exp $
62 +
63 +*rails-3.1.3-r1 (02 Jan 2012)
64 +
65 + 02 Jan 2012; Hans de Graaff <graaff@g.o> +rails-3.1.3-r1.ebuild,
66 + metadata.xml:
67 + Revision bump which also installs the components of the default Rails asset
68 + pipeline by default.
69
70 31 Dec 2011; Fabian Groffen <grobian@g.o> rails-3.1.3.ebuild:
71 Add Prefix keywords, bug #396547
72
73
74
75 1.1 dev-ruby/rails/rails-3.1.3-r1.ebuild
76
77 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/rails-3.1.3-r1.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/rails-3.1.3-r1.ebuild?rev=1.1&content-type=text/plain
79
80 Index: rails-3.1.3-r1.ebuild
81 ===================================================================
82 # Copyright 1999-2012 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-3.1.3-r1.ebuild,v 1.1 2012/01/02 20:15:45 graaff Exp $
85
86 EAPI=4
87 USE_RUBY="ruby18 ruby19 ree18"
88
89 RUBY_FAKEGEM_BINWRAP=""
90
91 RUBY_FAKEGEM_TASK_DOC=""
92 RUBY_FAKEGEM_TASK_TEST=""
93
94 inherit ruby-fakegem
95
96 DESCRIPTION="ruby on rails is a web-application and persistance framework"
97 HOMEPAGE="http://www.rubyonrails.org"
98
99 LICENSE="MIT"
100 SLOT="3.1"
101 KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
102
103 IUSE="+asset-pipeline"
104
105 RDEPEND=">=app-admin/eselect-rails-0.18"
106
107 ruby_add_rdepend "
108 ~dev-ruby/actionmailer-${PV}
109 ~dev-ruby/actionpack-${PV}
110 ~dev-ruby/activerecord-${PV}
111 ~dev-ruby/activeresource-${PV}
112 ~dev-ruby/activesupport-${PV}
113 =dev-ruby/bundler-1*
114 ~dev-ruby/railties-${PV}
115 asset-pipeline? (
116 dev-ruby/jquery-rails
117 dev-ruby/sass-rails
118 dev-ruby/uglifier
119 dev-ruby/coffee-rails
120 )"
121
122 all_ruby_install() {
123 all_fakegem_install
124
125 ruby_fakegem_binwrapper rails rails-${PV}
126 }
127
128 pkg_postinst() {
129 elog "To select between slots of rails, use:"
130 elog "\teselect rails"
131
132 eselect rails update
133 }
134
135 pkg_postrm() {
136 eselect rails update
137 }