blob: 196d096d49fe87f1e4d5a07a4a044357c99fa3fa (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/cucumber-0.5.3.ebuild,v 1.3 2010/02/13 19:43:04 armin76 Exp $
EAPI=2
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST="-f gem_tasks/rspec.rake spec"
inherit ruby-fakegem
DESCRIPTION="Executable feature scenarios"
HOMEPAGE="http://github.com/aslakhellesoy/cucumber/wikis"
LICENSE="Ruby"
KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
SLOT="0"
IUSE="examples"
ruby_add_bdepend test dev-ruby/rspec
ruby_add_rdepend ">=dev-ruby/term-ansicolor-1.0.4
>=dev-ruby/treetop-1.4.2
>=dev-ruby/polyglot-0.2.9
>=dev-ruby/diff-lcs-1.1.2
>=dev-ruby/builder-2.1.2
>=dev-ruby/json-1.2.0"
each_ruby_install() {
each_fakegem_install
ruby_fakegem_doins VERSION.yml
}
all_ruby_install() {
ruby_fakegem_binwrapper cucumber
dodoc History.txt README.rdoc
if use examples; then
cp -pPR examples "${D}/usr/share/doc/${PF}" || die "Failed installing example files."
fi
}
pkg_postinst() {
ewarn "Starting with cucumber 0.5.0 support for the Rails framework has been spun off."
ewarn "Please install dev-util/cucumber-rails if you need support for Rails."
}
|