You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/aws-s3/aws-s3-0.6.2-r1.ebuild

40 lines
1.1 KiB

# Copyright 1999-2011 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.6 2011/08/07 12:31:09 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18 jruby"
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
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
virtual/ruby-ssl"
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"
# The .erb file is not shipped, so avoid rebuilding it.
sed -i -e "/:rdoc => 'doc:readme'/d" Rakefile || die
}