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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Mar 11 14:10:37 2012 UTC (2 years, 7 months ago) by ranger
Branch: MAIN
Changes since 1.2: +3 -3 lines
Marking actionpack-3.1.3 ~ppc64 for bug 396547

(Portage version: 2.1.10.11/cvs/Linux ppc64)

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.1.3.ebuild,v 1.2 2011/12/31 21:38:55 grobian Exp $
4
5 EAPI=4
6
7 USE_RUBY="ruby18 ruby19 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.md 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.1"
26 KEYWORDS="~amd64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-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/rack-cache-1.1
35 >=dev-ruby/builder-3.0.0:3
36 >=dev-ruby/erubis-2.7.0
37 >=dev-ruby/i18n-0.6:0.6
38 >=dev-ruby/rack-1.3.5:1.3
39 >=dev-ruby/rack-mount-0.8.2:0.8
40 >=dev-ruby/rack-test-0.6.1:0.6
41 >=dev-ruby/sprockets-2.0.0:2.0"
42
43 ruby_add_bdepend "
44 test? (
45 dev-ruby/bundler
46 ~dev-ruby/activerecord-${PV}
47 ~dev-ruby/actionmailer-${PV}
48 >=dev-ruby/tzinfo-0.3.29
49 )"
50
51 all_ruby_prepare() {
52 # Remove items from the common Gemfile that we don't need for this
53 # test run. This also requires handling some gemspecs.
54 sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|"mysql"\)/d' ../Gemfile || die
55
56 sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die
57 sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
58
59 # Avoid fragile tests depending on hash ordering
60 sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
61 sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
62 sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
63 }

  ViewVC Help
Powered by ViewVC 1.1.20