/[gentoo-x86]/dev-ruby/capybara/capybara-1.1.1.ebuild
Gentoo

Contents of /dev-ruby/capybara/capybara-1.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Aug 4 15:05:49 2012 UTC (7 years, 2 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Cleanup.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/capybara-1.1.1.ebuild,v 1.2 2011/09/11 10:31:58 graaff Exp $
4
5 EAPI="2"
6 USE_RUBY="ruby18 ree18"
7
8 RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
9
10 # Rake tasks are not distributed in the gem.
11 RUBY_FAKEGEM_TASK_DOC=""
12 RUBY_FAKEGEM_TASK_TEST=""
13
14 inherit virtualx ruby-fakegem
15
16 DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications."
17 HOMEPAGE="http://github.com/jnicklas/capybara"
18 LICENSE="MIT"
19
20 KEYWORDS="~amd64"
21 SLOT="0"
22 IUSE="test"
23
24 # Restrict tests until launchy is part of the main tree. With it
25 # installed all tests should pass.
26 RESTRICT="test"
27
28 #ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/launchy www-client/firefox )"
29
30 ruby_add_rdepend "
31 >=dev-ruby/mime-types-1.16
32 >=dev-ruby/nokogiri-1.3.3
33 >=dev-ruby/rack-1.0.0
34 >=dev-ruby/rack-test-0.5.4
35
36 >=dev-ruby/selenium-webdriver-2.0
37 >=dev-ruby/xpath-0.1.4"
38
39 all_ruby_prepare() {
40 sed -i -e '/bundler/d' spec/spec_helper.rb || die
41 }
42
43 each_ruby_test() {
44 VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec"
45 virtualmake || die "Tests failed."
46 }

  ViewVC Help
Powered by ViewVC 1.1.20