/[gentoo-x86]/dev-ruby/actionmailer/actionmailer-4.2.2.ebuild
Gentoo

Contents of /dev-ruby/actionmailer/actionmailer-4.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 16 21:59:06 2015 UTC (2 years, 11 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.2.1.ebuild,v 1.1 2015/03/19 19:25:06 graaff Exp $
4
5 EAPI=5
6 USE_RUBY="ruby19 ruby20 ruby21"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
10
11 RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
12
13 inherit ruby-fakegem versionator
14
15 DESCRIPTION="Framework for designing email-service layers"
16 HOMEPAGE="https://github.com/rails/rails"
17 SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
18
19 LICENSE="MIT"
20 SLOT="$(get_version_component_range 1-2)"
21 KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
22 IUSE=""
23
24 RUBY_S="rails-${PV}/${PN}"
25
26 ruby_add_rdepend "
27 ~dev-ruby/actionpack-${PV}
28 ~dev-ruby/actionview-${PV}
29 ~dev-ruby/activejob-${PV}
30 >=dev-ruby/mail-2.5.4:2.5
31 >=dev-ruby/rails-dom-testing-1.0.5:1"
32
33 ruby_add_bdepend "test? (
34 dev-ruby/test-unit:2
35 dev-ruby/mocha:0.14
36 )"
37
38 all_ruby_prepare() {
39 # Set test environment to our hand.
40 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
41 sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
42
43 # Make sure we use the test-unit gem since ruby18 does not provide
44 # all the test-unit features needed.
45 sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
46
47 # Avoid a test failing only on attachment ordering, since this is a
48 # security release.
49 sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die
50 }

  ViewVC Help
Powered by ViewVC 1.1.20