blob: db6893f76773b7c0f3b124ae8e2b7c7c3a859141 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/aws-s3/aws-s3-0.6.2-r1.ebuild,v 1.4 2010/02/14 21:31:16 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18 jruby"
RUBY_FAKEGEM_TASK_DOC="doc:redoc"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README"
RUBY_FAKEGEM_BINWRAP="s3sh"
inherit ruby-fakegem
DESCRIPTION="Client library for Amazon's Simple Storage Service's REST API"
HOMEPAGE="http://amazon.rubyforge.org/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
ruby_add_rdepend "dev-ruby/xml-simple
dev-ruby/builder
dev-ruby/mime-types"
ruby_add_bdepend test "virtual/ruby-test-unit dev-ruby/ruby-debug dev-ruby/flexmock"
all_ruby_prepare() {
# As of release 0.6.2 this part is going to break when building
# with Ruby 1.9; we disable it since we don't need it at all.
sed -i -e '/^namespace :site/,/^end/ d' "${S}"/Rakefile \
|| die "sed out of rake's :site namespace failed"
}
|