/[gentoo-x86]/dev-ruby/actionpack/actionpack-3.0.17.ebuild
Gentoo

Contents of /dev-ruby/actionpack/actionpack-3.0.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Aug 11 08:37:13 2012 UTC (20 months ago) by graaff
Branch: MAIN
Version bumps for security bug 430718.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.0.16.ebuild,v 1.1 2012/07/28 08:18:31 graaff Exp $
4
5 EAPI=4
6
7 USE_RUBY="ruby18 ree18"
8
9 # The default test task tries to test activerecord with SQLite as well.
10 RUBY_FAKEGEM_TASK_TEST="test_action_pack"
11
12 RUBY_FAKEGEM_TASK_DOC=""
13 RUBY_FAKEGEM_DOCDIR="doc"
14 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
15
16 RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
17
18 inherit ruby-fakegem
19
20 DESCRIPTION="Eases web-request routing, handling, and response."
21 HOMEPAGE="http://rubyforge.org/projects/actionpack/"
22 SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
23
24 LICENSE="MIT"
25 SLOT="3.0"
26 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
27 IUSE=""
28
29 RUBY_S="rails-rails-*/actionpack"
30
31 ruby_add_rdepend "
32 ~dev-ruby/activemodel-${PV}
33 ~dev-ruby/activesupport-${PV}
34 >=dev-ruby/builder-2.1.2:0
35 >=dev-ruby/erubis-2.6.6
36 >=dev-ruby/i18n-0.5.0:0.5
37 >=dev-ruby/rack-1.2.5:1.2
38 >=dev-ruby/rack-mount-0.6.14:0.6
39 >=dev-ruby/rack-test-0.5.7:0.5
40 >=dev-ruby/tzinfo-0.3.23"
41
42 ruby_add_bdepend "
43 test? (
44 dev-ruby/bundler
45 >=dev-ruby/mocha-0.10.5
46 ~dev-ruby/activerecord-${PV}
47 ~dev-ruby/actionmailer-${PV}
48 )"
49
50 all_ruby_prepare() {
51 # Remove items from the common Gemfile that we don't need for this
52 # test run. This also requires handling some gemspecs.
53 sed -i -e '/\(system_timer\|horo\|faker\|rbench\|ruby-debug\|pg\|mysql2\)/d' ../Gemfile || die
54
55 # Loosen erubis dependency since this is not slotted.
56 sed -i -e 's/~> 2.6.6/>= 2.6.6/' actionpack.gemspec || die
57
58 # Loosen mocha version restriction
59 sed -i -e 's/0.10.5/>= 0.10.5/' ../Gemfile || die
60
61 # Ignore failure introduced by security measures in 3.0.17.
62 sed -i -e '/test_select_tag_escapes_prompt/,/end/ s:^:#:' test/template/form_tag_helper_test.rb || die
63 }

  ViewVC Help
Powered by ViewVC 1.1.20