Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/actionmailer: ChangeLog actionmailer-4.2.0.ebuild
Date: Thu, 01 Jan 2015 10:21:16
Message-Id: 20150101102113.52CE3EA16@oystercatcher.gentoo.org
1 graaff 15/01/01 10:21:13
2
3 Modified: ChangeLog
4 Added: actionmailer-4.2.0.ebuild
5 Log:
6 Version bump for Rails 4.2. Dropped keywords tracked in bug 534186.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.279 dev-ruby/actionmailer/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/ChangeLog?rev=1.279&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/ChangeLog?rev=1.279&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/ChangeLog?r1=1.278&r2=1.279
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v
20 retrieving revision 1.278
21 retrieving revision 1.279
22 diff -u -r1.278 -r1.279
23 --- ChangeLog 20 Dec 2014 07:30:10 -0000 1.278
24 +++ ChangeLog 1 Jan 2015 10:21:13 -0000 1.279
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/actionmailer
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.278 2014/12/20 07:30:10 graaff Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.279 2015/01/01 10:21:13 graaff Exp $
31 +
32 +*actionmailer-4.2.0 (01 Jan 2015)
33 +
34 + 01 Jan 2015; Hans de Graaff <graaff@g.o> +actionmailer-4.2.0.ebuild:
35 + Version bump for Rails 4.2. Dropped keywords tracked in bug 534186.
36
37 20 Dec 2014; Hans de Graaff <graaff@g.o> -actionmailer-3.2.20.ebuild,
38 -actionmailer-4.0.11.ebuild, -actionmailer-4.1.7.ebuild:
39
40
41
42 1.1 dev-ruby/actionmailer/actionmailer-4.2.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.2.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.2.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: actionmailer-4.2.0.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-4.2.0.ebuild,v 1.1 2015/01/01 10:21:13 graaff Exp $
52
53 EAPI=5
54 USE_RUBY="ruby19 ruby20 ruby21"
55
56 RUBY_FAKEGEM_TASK_DOC=""
57 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
58
59 RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
60
61 inherit ruby-fakegem versionator
62
63 DESCRIPTION="Framework for designing email-service layers"
64 HOMEPAGE="https://github.com/rails/rails"
65 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
66
67 LICENSE="MIT"
68 SLOT="$(get_version_component_range 1-2)"
69 KEYWORDS="~amd64"
70 IUSE=""
71
72 RUBY_S="rails-${PV}/${PN}"
73
74 ruby_add_rdepend "
75 ~dev-ruby/actionpack-${PV}
76 ~dev-ruby/actionview-${PV}
77 ~dev-ruby/activejob-${PV}
78 >=dev-ruby/mail-2.5.4:2.5
79 >=dev-ruby/rails-dom-testing-1.0.5:1"
80
81 ruby_add_bdepend "test? (
82 dev-ruby/test-unit:2
83 dev-ruby/mocha:0.14
84 )"
85
86 all_ruby_prepare() {
87 # Set test environment to our hand.
88 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
89 sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
90
91 # Make sure we use the test-unit gem since ruby18 does not provide
92 # all the test-unit features needed.
93 sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
94
95 # Avoid a test failing only on attachment ordering, since this is a
96 # security release.
97 sed -i -e '/adding inline attachments while rendering mail works/askip "gentoo: fails on ordering"' test/base_test.rb || die
98 }