/[gentoo-x86]/dev-ruby/rspec-rails/rspec-rails-3.2.3.ebuild
Gentoo

Contents of /dev-ruby/rspec-rails/rspec-rails-3.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Jun 12 04:25:45 2015 UTC (2 years, 4 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Version bump.

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

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-rails/rspec-rails-3.2.2.ebuild,v 1.1 2015/06/06 04:36:29 graaff Exp $
4
5 EAPI=5
6
7 USE_RUBY="ruby19 ruby20 ruby21"
8
9 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
10
11 RUBY_FAKEGEM_TASK_DOC=""
12 RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md"
13
14 inherit ruby-fakegem versionator
15
16 DESCRIPTION="RSpec's official Ruby on Rails plugin"
17 HOMEPAGE="http://rspec.info/"
18 SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
19
20 LICENSE="MIT"
21 SLOT="3"
22 KEYWORDS="~amd64 ~x86"
23 IUSE=""
24
25 SUBVERSION="$(get_version_component_range 1-2)"
26
27 ruby_add_rdepend ">=dev-ruby/activesupport-3.0:*
28 >=dev-ruby/actionpack-3.0:*
29 >=dev-ruby/railties-3.0:*
30 =dev-ruby/rspec-${SUBVERSION}*"
31
32 # Depend on the package being already installed for tests, because
33 # requiring ammeter will load it, and we need a consistent set of rspec
34 # and rspec-rails for that to work.
35 ruby_add_bdepend "test? ( =dev-ruby/mocha-0.10* >=dev-ruby/capybara-2.0.0 >=dev-ruby/ammeter-1.1.2 ~dev-ruby/rspec-rails-${PV} )"
36
37 all_ruby_prepare() {
38 # Remove .rspec options to avoid dependency on newer rspec when
39 # bootstrapping.
40 rm .rspec || die
41
42 # Avoid bundler-specific specs.
43 rm spec/sanity_check_spec.rb || die
44 }

  ViewVC Help
Powered by ViewVC 1.1.20