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/railties: railties-3.2.13.ebuild ChangeLog
Date: Sun, 31 Mar 2013 07:44:50
Message-Id: 20130331074446.BF7A02171D@flycatcher.gentoo.org
1 graaff 13/03/31 07:44:46
2
3 Modified: ChangeLog
4 Added: railties-3.2.13.ebuild
5 Log:
6 Version bump for security bug 462452.
7
8 (Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.54 dev-ruby/railties/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.54&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.54&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?r1=1.53&r2=1.54
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v
20 retrieving revision 1.53
21 retrieving revision 1.54
22 diff -u -r1.53 -r1.54
23 --- ChangeLog 30 Mar 2013 13:18:13 -0000 1.53
24 +++ ChangeLog 31 Mar 2013 07:44:46 -0000 1.54
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/railties
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.53 2013/03/30 13:18:13 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.54 2013/03/31 07:44:46 graaff Exp $
30 +
31 +*railties-3.2.13 (31 Mar 2013)
32 +
33 + 31 Mar 2013; Hans de Graaff <graaff@g.o> +railties-3.2.13.ebuild:
34 + Version bump for security bug 462452.
35
36 *railties-3.1.12 (30 Mar 2013)
37
38
39
40
41 1.1 dev-ruby/railties/railties-3.2.13.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-3.2.13.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-3.2.13.ebuild?rev=1.1&content-type=text/plain
45
46 Index: railties-3.2.13.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/railties/railties-3.2.13.ebuild,v 1.1 2013/03/31 07:44:46 graaff Exp $
51
52 EAPI=4
53 USE_RUBY="ruby18 ruby19"
54
55 RUBY_FAKEGEM_TASK_TEST="test:regular"
56 RUBY_FAKEGEM_TASK_DOC="generate_guides"
57 RUBY_FAKEGEM_DOCDIR="guides/output"
58 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
59
60 RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
61
62 RUBY_FAKEGEM_BINWRAP=""
63
64 inherit ruby-fakegem versionator
65
66 DESCRIPTION="Tools for creating, working with, and running Rails applications."
67 HOMEPAGE="http://github.com/rails/rails"
68 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
69
70 LICENSE="MIT"
71 SLOT="$(get_version_component_range 1-2)"
72 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
73 IUSE=""
74
75 RUBY_S="rails-${PV}/${PN}"
76
77 # The test suite has many failures, most likely due to a mismatch in
78 # exact dependencies or environment specifics. Needs further
79 # investigation.
80 RESTRICT="test"
81
82 RDEPEND+=">=app-admin/eselect-rails-0.18"
83
84 ruby_add_rdepend "
85 ~dev-ruby/activesupport-${PV}
86 ~dev-ruby/actionpack-${PV}
87 >=dev-ruby/rdoc-3.4
88 >=dev-ruby/thor-0.14.6
89 >=dev-ruby/rack-ssl-1.3.2:1.3
90 >=dev-ruby/rake-0.8.7"
91
92 ruby_add_bdepend "
93 test? (
94 >=dev-ruby/mocha-0.9.5
95 )
96 doc? (
97 >=dev-ruby/redcloth-4.1.1
98 )"
99
100 all_ruby_prepare() {
101 # Remove items from the common Gemfile that we don't need for this
102 # test run. This also requires handling some gemspecs.
103 sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
104 }
105
106 all_ruby_install() {
107 all_fakegem_install
108
109 ruby_fakegem_binwrapper rails rails-${PV}
110 }
111
112 pkg_postinst() {
113 elog "To select between slots of rails, use:"
114 elog "\teselect rails"
115
116 eselect rails update
117 }
118
119 pkg_postrm() {
120 eselect rails update
121 }