blob: 72e34d1545fea0eeaf3b01b76dfc30f7210aa8e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-2.3.5-r1.ebuild,v 1.2 2010/01/16 08:25:58 fauli Exp $
EAPI=2
USE_RUBY="ruby18"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
inherit ruby-fakegem
DESCRIPTION="Eases web-request routing, handling, and response."
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
LICENSE="MIT"
SLOT="2.3"
KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
>=dev-ruby/rack-1.0.1 <dev-ruby/rack-1.1.0"
all_ruby_prepare() {
# Custom template not found in package
sed -i -e '/horo/d' Rakefile || die
# This tries to load a “vendorized” copy of activerecord that we
# will never have.
sed -i -e '/PATH_TO_AR/s:^:#:' test/active_record_unit.rb || die
}
|