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.3.16.ebuild
Date: Mon, 28 Jan 2013 21:40:50
Message-Id: 20130128214046.ED3162171D@flycatcher.gentoo.org
1 graaff 13/01/28 21:40:46
2
3 Modified: ChangeLog
4 Added: rails-2.3.16.ebuild
5 Log:
6 Version bump for security bug 453844.
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.248 dev-ruby/rails/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.248&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.248&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.247&r2=1.248
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v
20 retrieving revision 1.247
21 retrieving revision 1.248
22 diff -u -r1.247 -r1.248
23 --- ChangeLog 20 Jan 2013 15:00:23 -0000 1.247
24 +++ ChangeLog 28 Jan 2013 21:40:46 -0000 1.248
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/rails
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.247 2013/01/20 15:00:23 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.248 2013/01/28 21:40:46 graaff Exp $
30 +
31 +*rails-2.3.16 (28 Jan 2013)
32 +
33 + 28 Jan 2013; Hans de Graaff <graaff@g.o> +rails-2.3.16.ebuild:
34 + Version bump for security bug 453844.
35
36 20 Jan 2013; Hans de Graaff <graaff@g.o> -rails-2.3.14.ebuild,
37 -rails-3.0.18.ebuild, -rails-3.1.9.ebuild, -rails-3.2.10.ebuild:
38
39
40
41 1.1 dev-ruby/rails/rails-2.3.16.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/rails-2.3.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rails/rails-2.3.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rails-2.3.16.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.16.ebuild,v 1.1 2013/01/28 21:40:46 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 ~ppc ~ppc64 ~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/rdoc
78 ~dev-ruby/activerecord-${PV}
79 ~dev-ruby/activeresource-${PV}
80 ~dev-ruby/activesupport-${PV}
81 ~dev-ruby/actionmailer-${PV}
82 ~dev-ruby/actionpack-${PV}"
83 ruby_add_bdepend "doc? ( dev-ruby/redcloth )"
84
85 all_ruby_prepare() {
86 sed -i -e '/horo/d' Rakefile || die "Could not remove reference to unavailable documentation template."
87
88 # Create the documentation that we create on the fly in a separate
89 # directory, since we need to install the doc directory for the
90 # rails script.
91 sed -i -e "s/rdoc_dir = 'doc'/rdoc_dir = 'rdoc'/" Rakefile || die
92 }
93
94 all_ruby_install() {
95 all_fakegem_install
96
97 ruby_fakegem_binwrapper rails rails-${PV}
98
99 if use doc; then
100 pushd rdoc
101 docinto api
102 dohtml -r *
103 popd
104 fi
105 }
106
107 pkg_postinst() {
108 elog "To select between slots of rails, use:"
109 elog "\teselect rails"
110
111 eselect rails update
112 }
113
114 pkg_postrm() {
115 eselect rails update
116 }