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.1.2.ebuild
Date: Thu, 26 Jun 2014 20:08:11
Message-Id: 20140626200723.50E042004E@flycatcher.gentoo.org
1 graaff 14/06/26 20:07:23
2
3 Modified: ChangeLog
4 Added: railties-4.1.2.ebuild
5 Log:
6 Version bump to Rails 4.1.2.
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.80 dev-ruby/railties/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.80&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.80&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?r1=1.79&r2=1.80
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v
20 retrieving revision 1.79
21 retrieving revision 1.80
22 diff -u -r1.79 -r1.80
23 --- ChangeLog 26 Jun 2014 19:21:52 -0000 1.79
24 +++ ChangeLog 26 Jun 2014 20:07:23 -0000 1.80
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.79 2014/06/26 19:21:52 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.80 2014/06/26 20:07:23 graaff Exp $
30 +
31 +*railties-4.1.2 (26 Jun 2014)
32 +
33 + 26 Jun 2014; Hans de Graaff <graaff@g.o> +railties-4.1.2.ebuild:
34 + Version bump to Rails 4.1.2.
35
36 *railties-4.0.6 (26 Jun 2014)
37
38
39
40
41 1.1 dev-ruby/railties/railties-4.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: railties-4.1.2.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.1.2.ebuild,v 1.1 2014/06/26 20:07:23 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"
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/actionview-${PV}
92 dev-ruby/mocha:0.13
93 )"
94
95 all_ruby_prepare() {
96 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
97 sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
98 sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die
99
100 # Also allow rdoc 4.x
101 sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
102 }
103
104 all_ruby_install() {
105 all_fakegem_install
106
107 ruby_fakegem_binwrapper rails rails-${PV}
108 }
109
110 pkg_postinst() {
111 elog "To select between slots of rails, use:"
112 elog "\teselect rails"
113
114 eselect rails update
115 }
116
117 pkg_postrm() {
118 eselect rails update
119 }