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-4.0.2.ebuild ChangeLog
Date: Wed, 04 Dec 2013 19:24:51
Message-Id: 20131204192447.B22B82004B@flycatcher.gentoo.org
1 graaff 13/12/04 19:24:47
2
3 Modified: ChangeLog
4 Added: railties-4.0.2.ebuild
5 Log:
6 Version bump for security bug 493284.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.65 dev-ruby/railties/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.65&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.65&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?r1=1.64&r2=1.65
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v
20 retrieving revision 1.64
21 retrieving revision 1.65
22 diff -u -r1.64 -r1.65
23 --- ChangeLog 4 Dec 2013 08:07:27 -0000 1.64
24 +++ ChangeLog 4 Dec 2013 19:24:47 -0000 1.65
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.64 2013/12/04 08:07:27 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.65 2013/12/04 19:24:47 graaff Exp $
30 +
31 +*railties-4.0.2 (04 Dec 2013)
32 +
33 + 04 Dec 2013; Hans de Graaff <graaff@g.o> +railties-4.0.2.ebuild:
34 + Version bump for security bug 493284.
35
36 *railties-3.2.16 (04 Dec 2013)
37
38
39
40
41 1.1 dev-ruby/railties/railties-4.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: railties-4.0.2.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-4.0.2.ebuild,v 1.1 2013/12/04 19:24:47 graaff Exp $
51
52 EAPI=5
53 USE_RUBY="ruby19"
54
55 RUBY_FAKEGEM_TASK_TEST="test:regular"
56 RUBY_FAKEGEM_TASK_DOC=""
57 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
58
59 RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
60
61 RUBY_FAKEGEM_BINWRAP=""
62
63 inherit ruby-fakegem versionator
64
65 DESCRIPTION="Tools for creating, working with, and running Rails applications."
66 HOMEPAGE="http://github.com/rails/rails"
67 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
68
69 LICENSE="MIT"
70 SLOT="$(get_version_component_range 1-2)"
71 KEYWORDS="~amd64 ~arm"
72 IUSE=""
73
74 RUBY_S="rails-${PV}/${PN}"
75
76 # The test suite has many failures, most likely due to a mismatch in
77 # exact dependencies or environment specifics. Needs further
78 # investigation.
79 RESTRICT="test"
80
81 RDEPEND+=">=app-admin/eselect-rails-0.19"
82
83 ruby_add_rdepend "
84 ~dev-ruby/activesupport-${PV}
85 ~dev-ruby/actionpack-${PV}
86 >=dev-ruby/thor-0.18.1
87 >=dev-ruby/rake-0.8.7"
88
89 ruby_add_bdepend "
90 test? (
91 dev-ruby/mocha:0.13
92 )"
93
94 all_ruby_prepare() {
95 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
96 sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
97 sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die
98
99 # Also allow rdoc 4.x
100 sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
101 }
102
103 all_ruby_install() {
104 all_fakegem_install
105
106 ruby_fakegem_binwrapper rails rails-${PV}
107 }
108
109 pkg_postinst() {
110 elog "To select between slots of rails, use:"
111 elog "\teselect rails"
112
113 eselect rails update
114 }
115
116 pkg_postrm() {
117 eselect rails update
118 }