/[gentoo-x86]/dev-ruby/amazon-ec2/amazon-ec2-0.9.17.ebuild
Gentoo

Contents of /dev-ruby/amazon-ec2/amazon-ec2-0.9.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 7 00:14:46 2011 UTC (3 years, 4 months ago) by flameeyes
Branch: MAIN
Changes since 1.1: +7 -13 lines
Fix building with USE=doc (remove bundler reference from all copies); fix tests with Ruby 1.9.2; add missing ruby-ssl dependency; use test-unit-2 as that's what upstream seems to prefer.

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

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/amazon-ec2/amazon-ec2-0.9.17.ebuild,v 1.1 2011/07/21 10:00:37 graaff Exp $
4
5 EAPI=2
6
7 USE_RUBY="ruby18 ruby19 jruby ree18"
8
9 RUBY_FAKEGEM_TASK_DOC="yard"
10 RUBY_FAKEGEM_DOCDIR="doc"
11 RUBY_FAKEGEM_EXTRADOC="README.rdoc ChangeLog"
12
13 RUBY_FAKEGEM_BINWRAP="ec2sh"
14
15 inherit ruby-fakegem
16
17 DESCRIPTION="Library for accessing the Amazon Web Services EC2 and related"
18 HOMEPAGE="http://github.com/grempe/amazon-ec2"
19
20 LICENSE="Ruby"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86"
23 IUSE=""
24
25 # We only need yard for Ruby 1.8, as we use it for documentation
26 # generation. It is however also loaded when we run tests.
27 USE_RUBY=ruby18 \
28 ruby_add_bdepend "doc? ( dev-ruby/yard )"
29
30 ruby_add_bdepend "
31 test? (
32 dev-ruby/test-unit:2
33 >=dev-ruby/test-spec-0.10.0
34 >=dev-ruby/mocha-0.9.8
35 dev-ruby/yard
36 )"
37 ruby_add_rdepend '
38 >=dev-ruby/xml-simple-1.0.12
39 virtual/ruby-ssl'
40
41 all_ruby_prepare() {
42 epatch "${FILESDIR}"/${P}+ruby-1.9.2.patch
43
44 rm Gemfile || die
45 sed -i -e '/[Bb]undler/d' Rakefile || die
46 }

  ViewVC Help
Powered by ViewVC 1.1.20