blob: 151539638d739e83b6aa622a0df704c337559c68 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/webrobots/webrobots-0.1.1.ebuild,v 1.5 2014/08/05 16:00:52 mrueg Exp $
EAPI=5
USE_RUBY="ruby19"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
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 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE=""
ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4"
ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/test-unit:2 )"
all_ruby_prepare() {
sed -i -e '/bundler/,/end/d' Rakefile test/helper.rb || die
}
each_ruby_test() {
ruby-ng_testrb-2 -Ilib test/test_*.rb
}
|