summaryrefslogtreecommitdiff
blob: bcb4bcf651488569a6553e05fe41ff375349f25e (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webrobots/webrobots-0.0.11.ebuild,v 1.1 2011/08/12 18:27:41 graaff Exp $

EAPI=4
USE_RUBY="ruby18 ree18"

RUBY_FAKEGEM_DOCDIR="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.rdoc"

inherit ruby-fakegem

DESCRIPTION="A library to help write robots.txt compliant web robots."
HOMEPAGE="http://rubygems.org/gems/webrobots"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4"

ruby_add_bdepend "test? ( dev-ruby/shoulda virtual/ruby-test-unit )"

all_ruby_prepare() {
	rm Gemfile || die
	sed -i -e '/bundler/,/end/d' Rakefile test/helper.rb || die
	sed -i -e '/rcovtask/,/end/d' \
		   -e '/jeweler/,/RubygemsDotOrgTasks/d' Rakefile || die
}