Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/bundler: ChangeLog bundler-1.1.5.ebuild
Date: Mon, 30 Jul 2012 19:38:46
Message-Id: 20120730193832.062FA2004B@flycatcher.gentoo.org
1 graaff 12/07/30 19:38:31
2
3 Modified: ChangeLog
4 Added: bundler-1.1.5.ebuild
5 Log:
6 Version bump, fixes bug 422939.
7
8 (Portage version: 2.1.10.65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.40 dev-ruby/bundler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/bundler/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 18 Jun 2012 06:12:30 -0000 1.39
24 +++ ChangeLog 30 Jul 2012 19:38:31 -0000 1.40
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/bundler
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/ChangeLog,v 1.39 2012/06/18 06:12:30 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/ChangeLog,v 1.40 2012/07/30 19:38:31 graaff Exp $
30 +
31 +*bundler-1.1.5 (30 Jul 2012)
32 +
33 + 30 Jul 2012; Hans de Graaff <graaff@g.o> +bundler-1.1.5.ebuild:
34 + Version bump, fixes bug 422939.
35
36 18 Jun 2012; Hans de Graaff <graaff@g.o> -bundler-1.0.21.ebuild:
37 Remove old version.
38
39
40
41 1.1 dev-ruby/bundler/bundler-1.1.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/bundler-1.1.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/bundler-1.1.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: bundler-1.1.5.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.1.5.ebuild,v 1.1 2012/07/30 19:38:31 graaff Exp $
51
52 EAPI=2
53
54 # jruby → needs to be tested because jruby-1.5.1 fails in multiple
55 # ways unrelated to this package.
56 USE_RUBY="ruby18 ruby19 ree18"
57
58 RUBY_FAKEGEM_RECIPE_TEST="rspec"
59
60 # No documentation task
61 RUBY_FAKEGEM_TASK_DOC=""
62 RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md ISSUES.md UPGRADING.md"
63
64 inherit ruby-fakegem
65
66 DESCRIPTION="An easy way to vendor gem dependencies"
67 HOMEPAGE="http://github.com/carlhuda/bundler"
68
69 LICENSE="MIT"
70 SLOT="0"
71 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
72 IUSE=""
73
74 ruby_add_rdepend virtual/rubygems
75
76 ruby_add_bdepend "test? ( app-text/ronn )"
77
78 RDEPEND="${RDEPEND}
79 dev-vcs/git"
80 DEPEND="${DEPEND}
81 test? ( dev-vcs/git )"
82
83 all_ruby_prepare() {
84 # Bundler only supports running the specs from git:
85 # http://github.com/carlhuda/bundler/issues/issue/738
86 sed -i -e '751s/should/should_not/' spec/runtime/setup_spec.rb || die
87
88 # Fails randomly and no clear cause can be found. Might be related
89 # to bug 346357. This was broken in previous releases without a
90 # failing spec, so patch out this spec for now since it is not a
91 # regression.
92 sed -i -e '/works when you bundle exec bundle/,/^ end/ s:^:#:' spec/install/deploy_spec.rb || die
93 }
94
95 each_ruby_prepare() {
96 case ${RUBY} in
97 *ruby19)
98 # Account for different wording in ruby 1.9.3.
99 # sed -i -e 's/no such file to load/cannot load such file/' spec/runtime/require_spec.rb spec/install/gems/groups_spec.rb || die
100 ;;
101 *)
102 ;;
103 esac
104 }