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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Nov 20 14:12:17 2011 UTC (7 years, 11 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old versions.

(Portage version: 2.1.10.11/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.0.0.ebuild,v 1.1 2011/07/19 07:13:59 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 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 since they will try to launch a browser to run tests
25 # in. All tests should pass. Launchy can be found in the ruby overlay.
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-0.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 ${RUBY} -Ilib -S rspec spec || die "Tests failed."
45 }

  ViewVC Help
Powered by ViewVC 1.1.20