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.1.12.ebuild ChangeLog
Date: Fri, 26 Jun 2015 06:28:16
Message-Id: 20150626062751.70DE4A52@oystercatcher.gentoo.org
1 graaff 15/06/26 06:27:51
2
3 Modified: ChangeLog
4 Added: railties-4.1.12.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.107 dev-ruby/railties/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.107&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.107&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?r1=1.106&r2=1.107
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v
20 retrieving revision 1.106
21 retrieving revision 1.107
22 diff -u -r1.106 -r1.107
23 --- ChangeLog 16 Jun 2015 22:00:01 -0000 1.106
24 +++ ChangeLog 26 Jun 2015 06:27:51 -0000 1.107
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/railties
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.106 2015/06/16 22:00:01 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.107 2015/06/26 06:27:51 graaff Exp $
30 +
31 +*railties-4.1.12 (26 Jun 2015)
32 +
33 + 26 Jun 2015; Hans de Graaff <graaff@g.o> +railties-4.1.12.ebuild:
34 + Version bump.
35
36 *railties-4.2.2 (16 Jun 2015)
37
38
39
40
41 1.1 dev-ruby/railties/railties-4.1.12.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.1.12.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.1.12.ebuild?rev=1.1&content-type=text/plain
45
46 Index: railties-4.1.12.ebuild
47 ===================================================================
48 # Copyright 1999-2015 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.12.ebuild,v 1.1 2015/06/26 06:27:51 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="https://github.com/rails/rails"
67 SRC_URI="https://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 ~ppc ~ppc64"
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-eselect/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 }