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-4.0.6.ebuild
Date: Thu, 26 Jun 2014 19:22:23
Message-Id: 20140626192153.1332D2004E@flycatcher.gentoo.org
1 graaff 14/06/26 19:21:52
2
3 Modified: ChangeLog
4 Added: railties-4.0.6.ebuild
5 Log:
6 Version bump to Rails 4.0.6.
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.79 dev-ruby/railties/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.79&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.79&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?r1=1.78&r2=1.79
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v
20 retrieving revision 1.78
21 retrieving revision 1.79
22 diff -u -r1.78 -r1.79
23 --- ChangeLog 12 May 2014 19:01:35 -0000 1.78
24 +++ ChangeLog 26 Jun 2014 19:21:52 -0000 1.79
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.78 2014/05/12 19:01:35 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.79 2014/06/26 19:21:52 graaff Exp $
30 +
31 +*railties-4.0.6 (26 Jun 2014)
32 +
33 + 26 Jun 2014; Hans de Graaff <graaff@g.o> +railties-4.0.6.ebuild:
34 + Version bump to Rails 4.0.6.
35
36 12 May 2014; Hans de Graaff <graaff@g.o> -railties-3.2.17.ebuild,
37 -railties-4.0.3.ebuild, -railties-4.0.4.ebuild, -railties-4.1.0.ebuild:
38
39
40
41 1.1 dev-ruby/railties/railties-4.0.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.0.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.0.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: railties-4.0.6.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-4.0.6.ebuild,v 1.1 2014/06/26 19:21:52 graaff Exp $
51
52 EAPI=5
53 USE_RUBY="ruby19 ruby20 ruby21"
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 ~x86"
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 }