/[gentoo-x86]/dev-ruby/rspec-expectations/rspec-expectations-2.6.0-r1.ebuild
Gentoo

Contents of /dev-ruby/rspec-expectations/rspec-expectations-2.6.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Jan 15 05:40:07 2013 UTC (19 months, 1 week ago) by zerochaos
Branch: MAIN
Changes since 1.11: +2 -2 lines
adding ~arm keywords to net-analyzer/metasploit rdeps

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

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/rspec-expectations/rspec-expectations-2.6.0-r1.ebuild,v 1.11 2013/01/15 05:37:03 zerochaos Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18 ree18 ruby19 jruby"
7
8 RUBY_FAKEGEM_TASK_TEST="none"
9
10 RUBY_FAKEGEM_EXTRADOC="README.md"
11
12 inherit ruby-fakegem
13
14 DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
15 HOMEPAGE="http://rspec.rubyforge.org/"
16
17 LICENSE="MIT"
18 SLOT="2"
19 KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
20 IUSE=""
21
22 ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.2"
23
24 ruby_add_bdepend "test? (
25 >=dev-ruby/rspec-core-2.4.0:2
26 dev-ruby/rspec-mocks:2
27 )"
28
29 ruby_add_bdepend "doc? ( dev-ruby/rspec-core:2 )"
30
31 # Not clear yet to what extend we need those (now)
32 # >=dev-ruby/cucumber-0.6.2
33 # >=dev-ruby/aruba-0.1.1"
34
35 all_ruby_prepare() {
36 # Don't set up bundler: it doesn't understand our setup.
37 sed -i -e '/[Bb]undler/d' Rakefile || die
38
39 # Remove the Gemfile to avoid running through 'bundle exec'
40 rm Gemfile || die
41 }
42
43 each_ruby_test() {
44 PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -S rake spec
45
46 # There are features but they require aruba which we don't have yet.
47 }

  ViewVC Help
Powered by ViewVC 1.1.20