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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Aug 7 05:23:53 2015 UTC (2 years, 3 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Fix dependency on dev-ruby/mail to match gemspec.

(Portage version: 2.2.20/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.0.13.ebuild,v 1.1 2015/01/07 07:05:21 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 ~x86"
22 IUSE=""
23
24 RUBY_S="rails-${PV}/${PN}"
25
26 ruby_add_rdepend "~dev-ruby/actionpack-${PV}
27 >=dev-ruby/mail-2.5.4:* =dev-ruby/mail-2*:*"
28 ruby_add_bdepend "test? (
29 dev-ruby/bundler
30 dev-ruby/mocha:0.13
31 )"
32
33 all_ruby_prepare() {
34 # Remove items from the common Gemfile that we don't need for this
35 # test run. This also requires handling some gemspecs.
36 sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\)/d" ../Gemfile || die
37 sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
38
39 # Add json to Gemfile to fix mime-types not doing this itself.
40 sed -e '5igem "json"' -i ../Gemfile || die
41 }

  ViewVC Help
Powered by ViewVC 1.1.20