summaryrefslogtreecommitdiff
blob: de1f9d103dc7d00f3cc0c2df99b1a3bf03842cc9 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.5.2.ebuild,v 1.1 2009/12/20 23:38:35 flameeyes Exp $

EAPI=2

# jruby → fails tests
USE_RUBY="ruby18 ruby19"

RUBY_FAKEGEM_TASK_TEST="specs"
RUBY_FAKEGEM_TASK_DOC="yard"

RUBY_FAKEGEM_EXTRADOC="README.md ChangeLog"
RUBY_FAKEGEM_DOCDIR="doc"

RUBY_FAKEGEM_EXTRAINSTALL="templates"

inherit ruby-fakegem

DESCRIPTION="Documentation generation tool for the Ruby programming language"
HOMEPAGE="http://yardoc.org/"

LICENSE="as-is" # truly
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

ruby_add_bdepend test dev-ruby/rspec

all_ruby_prepare() {
	sed -i -e '/yard.gemspec/,/^end/s:^:#:' "${S}"/Rakefile
}