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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 16 21:12:10 2015 UTC (2 years, 3 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-3.2.21.ebuild,v 1.1 2014/11/17 20:19:39 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="http://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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
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:2.5"
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 "/\(system_timer\|sdoc\|w3c_validators\|pg\|mysql\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\|bcrypt-ruby\|rdoc\)/d" ../Gemfile || die
37 sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
38
39 # Avoid test requiring the "pl" locale.
40 sed -i -e '/implicit multipart with other locale/,/^ end/ s:^:#:' \
41 test/base_test.rb || die
42 }

  ViewVC Help
Powered by ViewVC 1.1.20