| 1 |
graaff |
1.1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.0.10.ebuild,v 1.1 2011/09/28 07:33:30 graaff Exp $
|
| 4 |
|
|
|
| 5 |
|
|
EAPI=4
|
| 6 |
|
|
USE_RUBY="ruby18 ree18"
|
| 7 |
|
|
|
| 8 |
|
|
RUBY_FAKEGEM_TASK_DOC=""
|
| 9 |
|
|
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
|
| 10 |
|
|
|
| 11 |
|
|
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
| 12 |
|
|
|
| 13 |
|
|
inherit ruby-fakegem
|
| 14 |
|
|
|
| 15 |
|
|
DESCRIPTION="Framework for designing email-service layers"
|
| 16 |
|
|
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
| 17 |
|
|
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
| 18 |
|
|
|
| 19 |
|
|
LICENSE="MIT"
|
| 20 |
|
|
SLOT="3.0"
|
| 21 |
|
|
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
| 22 |
|
|
IUSE=""
|
| 23 |
|
|
|
| 24 |
|
|
RUBY_S="rails-rails-*/actionmailer"
|
| 25 |
|
|
|
| 26 |
|
|
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
| 27 |
|
|
>=dev-ruby/mail-2.2.19"
|
| 28 |
|
|
ruby_add_bdepend "test? (
|
| 29 |
|
|
>=dev-ruby/mocha-0.9.5
|
| 30 |
|
|
virtual/ruby-test-unit
|
| 31 |
|
|
)"
|
| 32 |
|
|
|
| 33 |
|
|
all_ruby_prepare() {
|
| 34 |
|
|
# Set test environment to our hand.
|
| 35 |
|
|
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
| 36 |
|
|
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
| 37 |
|
|
}
|