blob: b20a77646813dddc935c2e9527729579ee9c7418 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/gherkin-1.0.24.ebuild,v 1.2 2010/05/24 14:28:20 armin76 Exp $
EAPI=2
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC="-I lib rdoc"
RUBY_FAKEGEM_TASK_TEST="spec features"
#RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
inherit ruby-fakegem
DESCRIPTION="Fast Gherkin lexer and parser based on Ragel."
HOMEPAGE="http://wiki.github.com/aslakhellesoy/cucumber/gherkin"
LICENSE="MIT"
KEYWORDS="~amd64 ~sparc ~x86"
SLOT="0"
IUSE=""
DEPEND="${DEPEND} dev-util/ragel"
# Tests are currently broken: http://github.com/aslakhellesoy/gherkin/issues/issue/59
RESTRICT="test"
#ruby_add_bdepend test ">=dev-ruby/rspec-1.3.0 >=dev-ruby/cucumber-7.0.0"
ruby_add_rdepend ">=dev-ruby/trollop-1.15"
each_ruby_compile() {
${RUBY} -I lib -S rake compile
}
|