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: ChangeLog railties-3.2.18.ebuild
Date: Tue, 06 May 2014 18:52:57
Message-Id: 20140506185254.41AAF2004C@flycatcher.gentoo.org
1 graaff 14/05/06 18:52:54
2
3 Modified: ChangeLog
4 Added: railties-3.2.18.ebuild
5 Log:
6 Version bump for Rails 3.2.18, security bug 509706.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.74 dev-ruby/railties/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.74&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.74&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?r1=1.73&r2=1.74
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v
20 retrieving revision 1.73
21 retrieving revision 1.74
22 diff -u -r1.73 -r1.74
23 --- ChangeLog 26 Apr 2014 15:10:15 -0000 1.73
24 +++ ChangeLog 6 May 2014 18:52:54 -0000 1.74
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/railties
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.73 2014/04/26 15:10:15 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.74 2014/05/06 18:52:54 graaff Exp $
30 +
31 +*railties-3.2.18 (06 May 2014)
32 +
33 + 06 May 2014; Hans de Graaff <graaff@g.o> +railties-3.2.18.ebuild:
34 + Version bump for Rails 3.2.18, security bug 509706.
35
36 *railties-4.1.0 (26 Apr 2014)
37
38
39
40
41 1.1 dev-ruby/railties/railties-3.2.18.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-3.2.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-3.2.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: railties-3.2.18.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.18.ebuild,v 1.1 2014/05/06 18:52:54 graaff Exp $
51
52 EAPI=5
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.13
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 # Also allow rdoc 4.x
106 sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
107 }
108
109 all_ruby_install() {
110 all_fakegem_install
111
112 if use doc ; then
113 mv guides/output guides/guides || die
114 dohtml -r guides/guides
115 fi
116
117 ruby_fakegem_binwrapper rails rails-${PV}
118 }
119
120 pkg_postinst() {
121 elog "To select between slots of rails, use:"
122 elog "\teselect rails"
123
124 eselect rails update
125 }
126
127 pkg_postrm() {
128 eselect rails update
129 }