blob: 0bb86cef595a72db3a47fe092f3db45c09c8d967 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/spork/spork-0.8.4-r1.ebuild,v 1.2 2010/10/09 07:52:21 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
RUBY_FAKEGEM_EXTRAINSTALL="assets"
inherit ruby-fakegem
DESCRIPTION="Spork is Tim Harper's implementation of test server."
HOMEPAGE="http://github.com/timcharper/spork"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""
ruby_add_bdepend "dev-util/cucumber
>=dev-ruby/rspec-1.2.9:0
>=dev-ruby/rspec-rails-1.2.9
dev-util/cucumber-rails
>=dev-ruby/rails-2.3
>=dev-ruby/ruby-debug-0.10.3"
each_ruby_prepare() {
# Don't use deprecated name in feature file.
sed -i -e 's/Fonction/Fonctionnalité/' features/cucumber_rails_integration.feature || die
}
each_ruby_test() {
${RUBY} -S spec spec || die
${RUBY} -Ilib -S cucumber features || die
}
|