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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jul 19 07:04:20 2014 UTC (5 years, 2 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/capybara/capybara-2.1.0.ebuild,v 1.1 2013/04/19 12:34:59 graaff Exp $
4
5 EAPI=5
6 USE_RUBY="ruby19"
7
8 RUBY_FAKEGEM_EXTRADOC="History.md README.md"
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="2"
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 >=dev-ruby/selenium-webdriver-2.0 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 >=dev-ruby/xpath-2.0.0:2"
36
37 all_ruby_prepare() {
38 sed -i -e '/bundler/d' -e '/pry/d' spec/spec_helper.rb || die
39 }
40
41 each_ruby_test() {
42 VIRTUALX_COMMAND="${RUBY} -Ilib -S rspec spec"
43 virtualmake || die "Tests failed."
44 }

  ViewVC Help
Powered by ViewVC 1.1.20