/[gentoo-x86]/dev-ruby/bundler/bundler-1.1.5.ebuild
Gentoo

Contents of /dev-ruby/bundler/bundler-1.1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jan 16 00:28:32 2013 UTC (4 months, 1 week ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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/bundler/bundler-1.1.5.ebuild,v 1.2 2012/08/14 03:10:38 flameeyes Exp $
4
5 EAPI=4
6
7 # jruby → needs to be tested because jruby-1.5.1 fails in multiple
8 # ways unrelated to this package.
9 USE_RUBY="ruby18 ruby19 ree18"
10
11 RUBY_FAKEGEM_RECIPE_TEST="rspec"
12
13 # No documentation task
14 RUBY_FAKEGEM_TASK_DOC=""
15 RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md ISSUES.md UPGRADING.md"
16
17 inherit ruby-fakegem
18
19 DESCRIPTION="An easy way to vendor gem dependencies"
20 HOMEPAGE="http://github.com/carlhuda/bundler"
21
22 LICENSE="MIT"
23 SLOT="0"
24 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
25 IUSE=""
26
27 ruby_add_rdepend virtual/rubygems
28
29 ruby_add_bdepend "test? ( app-text/ronn )"
30
31 RDEPEND+=" dev-vcs/git"
32 DEPEND+=" test? ( dev-vcs/git )"
33
34 RUBY_PATCHES=( "${P}-nouserpriv.patch" )
35
36 all_ruby_prepare() {
37 # Bundler only supports running the specs from git:
38 # http://github.com/carlhuda/bundler/issues/issue/738
39 sed -i -e '751s/should/should_not/' spec/runtime/setup_spec.rb || die
40
41 # Fails randomly and no clear cause can be found. Might be related
42 # to bug 346357. This was broken in previous releases without a
43 # failing spec, so patch out this spec for now since it is not a
44 # regression.
45 sed -i -e '/works when you bundle exec bundle/,/^ end/ s:^:#:' spec/install/deploy_spec.rb || die
46 }

  ViewVC Help
Powered by ViewVC 1.1.17