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/actionpack: ChangeLog actionpack-2.3.11.ebuild
Date: Mon, 21 Feb 2011 20:10:00
Message-Id: 20110221200951.0FB6D20054@flycatcher.gentoo.org
1 graaff 11/02/21 20:09:51
2
3 Modified: ChangeLog
4 Added: actionpack-2.3.11.ebuild
5 Log:
6 Version bump for Rails 2.3.11.
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.171 dev-ruby/actionpack/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.171&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?rev=1.171&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/ChangeLog?r1=1.170&r2=1.171
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v
20 retrieving revision 1.170
21 retrieving revision 1.171
22 diff -u -r1.170 -r1.171
23 --- ChangeLog 20 Feb 2011 15:55:24 -0000 1.170
24 +++ ChangeLog 21 Feb 2011 20:09:50 -0000 1.171
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/actionpack
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.170 2011/02/20 15:55:24 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.171 2011/02/21 20:09:50 graaff Exp $
30 +
31 +*actionpack-2.3.11 (21 Feb 2011)
32 +
33 + 21 Feb 2011; Hans de Graaff <graaff@g.o> +actionpack-2.3.11.ebuild:
34 + Version bump for Rails 2.3.11.
35
36 20 Feb 2011; Hans de Graaff <graaff@g.o> actionpack-2.3.10.ebuild,
37 +files/actionpack-2.3.10-i18n-0.4.2.patch,
38
39
40
41 1.1 dev-ruby/actionpack/actionpack-2.3.11.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: actionpack-2.3.11.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.11.ebuild,v 1.1 2011/02/21 20:09:50 graaff Exp $
51
52 EAPI=2
53
54 USE_RUBY="ruby18 ree18 jruby"
55
56 # The default test task tries to test activerecord with SQLite as well.
57 RUBY_FAKEGEM_TASK_TEST="test_action_pack"
58
59 RUBY_FAKEGEM_DOCDIR="doc"
60 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
61
62 inherit ruby-fakegem
63
64 DESCRIPTION="Eases web-request routing, handling, and response."
65 HOMEPAGE="http://rubyforge.org/projects/actionpack/"
66
67 LICENSE="MIT"
68 SLOT="2.3"
69 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
70 IUSE=""
71
72 RUBY_PATCHES=( "${P}-rails3.patch" "${PN}-2.3.10-i18n-0.4.2.patch" )
73
74 ruby_add_rdepend "~dev-ruby/activesupport-${PV}
75 >=dev-ruby/rack-1.1.0"
76
77 ruby_add_bdepend "
78 test? (
79 >=dev-ruby/mocha-0.9.7
80 dev-ruby/activerecord:${SLOT}
81 dev-ruby/actionmailer:${SLOT}
82 !dev-ruby/test-unit:2
83 )"
84
85 all_ruby_prepare() {
86 # Custom template not found in package
87 sed -i -e '/horo/d' Rakefile || die
88
89 # This tries to load a “vendorized” copy of activerecord that we
90 # will never have. It can now also use a normally installed
91 # version but these tests fail.
92 sed -i -e '/PATH_TO_AR/s:^:#:' -e 's/self.able_to_connect = true/self.able_to_connect = false/' test/active_record_unit.rb || die
93
94 # Fix the testsuite, the symlink is not present in the gem for
95 # some reason
96 ln -s ../../symlink_parent test/fixtures/layout_tests/layouts/symlinked
97
98 # MemCacheStore tests no longer fail gracefully, and it's unlikely for
99 # someone to have them running anyway, so remove them for now.
100 rm test/controller/session/mem_cache_store_test.rb || die
101
102 # Fix tests when run against i18n 0.4.2 which ignores locale
103 # definitions with an empty data section.
104 sed -i -e 's/, {}/, {:test => "test"}/' test/template/render_test.rb || die
105 }