/[gentoo-x86]/dev-ruby/mail/mail-2.4.4.ebuild
Gentoo

Contents of /dev-ruby/mail/mail-2.4.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Aug 14 04:18:14 2012 UTC (2 years ago) by flameeyes
Branch: MAIN
Changes since 1.1: +2 -4 lines
Use the new rspec recipe for testing; on 2.3.3 this also changes the test dep from rspec:0 to rspec:2, but keeps a rspec:2 dependency for documentation.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/mail-2.4.4.ebuild,v 1.1 2012/04/04 13:56:56 graaff Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19 ree18"
7
8 RUBY_FAKEGEM_RECIPE_TEST="rspec"
9
10 RUBY_FAKEGEM_TASK_DOC=""
11 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md ROADMAP TODO.rdoc"
12
13 RUBY_FAKEGEM_GEMSPEC="mail.gemspec"
14
15 inherit ruby-fakegem versionator
16
17 GITHUB_USER="mikel"
18 COMMIT="e8ec8d53c4f5c889691630d0422b9dc044762f1b"
19
20 DESCRIPTION="An email handling library"
21 HOMEPAGE="https://github.com/mikel/mail"
22 SRC_URI="https://github.com/${GITHUB_USER}/mail/tarball/${PV} -> ${P}.tar.gz"
23
24 LICENSE="MIT"
25 SLOT="$(get_version_component_range 1-2)"
26 KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
27 IUSE=""
28
29 RUBY_S="${GITHUB_USER}-${PN}-*"
30
31 ruby_add_rdepend "
32 >=dev-ruby/i18n-0.4.0
33 >=dev-ruby/mime-types-1.16
34 >=dev-ruby/treetop-1.4.8"
35
36 all_ruby_prepare() {
37 rm Gemfile || die
38 sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code."
39
40 # Fix up dependencies to match our own.
41 sed -i -e 's/~>/>=/' mail.gemspec || die "Unable to fix up dependencies."
42 }

  ViewVC Help
Powered by ViewVC 1.1.20