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

Contents of /dev-ruby/rspec-expectations/rspec-expectations-2.10.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jan 15 05:40:07 2013 UTC (19 months, 2 weeks ago) by zerochaos
Branch: MAIN
Changes since 1.3: +3 -3 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.10.0.ebuild,v 1.3 2012/10/28 17:20:42 armin76 Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ree18 ruby19 jruby"
7
8 RUBY_FAKEGEM_TASK_TEST="none"
9
10 RUBY_FAKEGEM_TASK_DOC=""
11 RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
16 HOMEPAGE="http://rspec.rubyforge.org/"
17 SRC_URI="https://github.com/rspec/${PN}/tarball/v${PV} -> ${P}-git.tgz"
18 RUBY_S="rspec-${PN}-*"
19
20 LICENSE="MIT"
21 SLOT="2"
22 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"
23 IUSE=""
24
25 ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.2"
26
27 ruby_add_bdepend "test? (
28 >=dev-ruby/rspec-core-2.10.0:2
29 dev-ruby/rspec-mocks:2
30 )"
31
32 # Not clear yet to what extend we need those (now)
33 # >=dev-ruby/cucumber-0.6.2
34 # >=dev-ruby/aruba-0.1.1"
35
36 all_ruby_prepare() {
37 # Don't set up bundler: it doesn't understand our setup.
38 sed -i -e '/[Bb]undler/d' Rakefile || die
39
40 # Remove the Gemfile to avoid running through 'bundle exec'
41 rm Gemfile || die
42 }
43
44 each_ruby_test() {
45 PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -S rspec spec || die
46
47 # There are features but they require aruba which we don't have yet.
48 }

  ViewVC Help
Powered by ViewVC 1.1.20