Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/actionmailer: actionmailer-3.1.4-r1.ebuild ChangeLog actionmailer-3.1.4.ebuild
Date: Thu, 05 Apr 2012 17:13:04
Message-Id: 20120405171253.06C4D2004B@flycatcher.gentoo.org
1 flameeyes 12/04/05 17:12:53
2
3 Modified: ChangeLog
4 Added: actionmailer-3.1.4-r1.ebuild
5 Removed: actionmailer-3.1.4.ebuild
6 Log:
7 Make sure to fix the spec to allow using mail-2.4.0 or it would fail with bundler.
8
9 (Portage version: 2.2.0_alpha99/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.183 dev-ruby/actionmailer/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/ChangeLog?rev=1.183&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/ChangeLog?rev=1.183&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/ChangeLog?r1=1.182&r2=1.183
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v
21 retrieving revision 1.182
22 retrieving revision 1.183
23 diff -u -r1.182 -r1.183
24 --- ChangeLog 4 Apr 2012 11:47:12 -0000 1.182
25 +++ ChangeLog 5 Apr 2012 17:12:52 -0000 1.183
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-ruby/actionmailer
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.182 2012/04/04 11:47:12 graaff Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/ChangeLog,v 1.183 2012/04/05 17:12:52 flameeyes Exp $
31 +
32 +*actionmailer-3.1.4-r1 (05 Apr 2012)
33 +
34 + 05 Apr 2012; Diego E. Pettenò <flameeyes@g.o>
35 + +actionmailer-3.1.4-r1.ebuild, -actionmailer-3.1.4.ebuild:
36 + Make sure to fix the spec to allow using mail-2.4.0 or it would fail with
37 + bundler.
38
39 *actionmailer-3.1.4 (04 Apr 2012)
40
41
42
43
44 1.1 dev-ruby/actionmailer/actionmailer-3.1.4-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.1.4-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.1.4-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: actionmailer-3.1.4-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.1.4-r1.ebuild,v 1.1 2012/04/05 17:12:52 flameeyes Exp $
54
55 EAPI=4
56 USE_RUBY="ruby18 ruby19 ree18"
57
58 RUBY_FAKEGEM_TASK_DOC=""
59 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
60
61 RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="Framework for designing email-service layers"
66 HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
67 SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
68
69 LICENSE="MIT"
70 SLOT="3.1"
71 KEYWORDS="~amd64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
72 IUSE=""
73
74 RUBY_S="rails-rails-*/actionmailer"
75
76 ruby_add_rdepend "~dev-ruby/actionpack-${PV}
77 >=dev-ruby/mail-2.3.0"
78 ruby_add_bdepend "test? (
79 >=dev-ruby/mocha-0.9.5
80 virtual/ruby-test-unit
81 )"
82
83 all_ruby_prepare() {
84 # Set test environment to our hand.
85 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
86 sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
87
88 sed -i -e '/dependency.*mail/s:~>:>=:' "${RUBY_FAKEGEM_GEMSPEC}" || die
89 }