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.9.10.ebuild
Date: Mon, 29 Jun 2015 05:38:36
Message-Id: 20150629053823.B844E744@oystercatcher.gentoo.org
1 graaff 15/06/29 05:38:23
2
3 Modified: ChangeLog
4 Added: bundler-1.9.10.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.99 dev-ruby/bundler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/ChangeLog?rev=1.99&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/ChangeLog?rev=1.99&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/ChangeLog?r1=1.98&r2=1.99
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/bundler/ChangeLog,v
20 retrieving revision 1.98
21 retrieving revision 1.99
22 diff -u -r1.98 -r1.99
23 --- ChangeLog 21 Jun 2015 18:07:36 -0000 1.98
24 +++ ChangeLog 29 Jun 2015 05:38:23 -0000 1.99
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/bundler
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/ChangeLog,v 1.98 2015/06/21 18:07:36 zlogene Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/ChangeLog,v 1.99 2015/06/29 05:38:23 graaff Exp $
30 +
31 +*bundler-1.9.10 (29 Jun 2015)
32 +
33 + 29 Jun 2015; Hans de Graaff <graaff@g.o> +bundler-1.9.10.ebuild:
34 + Version bump.
35
36 21 Jun 2015; Mikle Kolyada <zlogene@g.o> bundler-1.7.13.ebuild:
37 alpha stable wrt bug #550314
38
39
40
41 1.1 dev-ruby/bundler/bundler-1.9.10.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/bundler-1.9.10.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bundler/bundler-1.9.10.ebuild?rev=1.1&content-type=text/plain
45
46 Index: bundler-1.9.10.ebuild
47 ===================================================================
48 # Copyright 1999-2015 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.9.10.ebuild,v 1.1 2015/06/29 05:38:23 graaff Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby19 ruby20 ruby21 ruby22"
55
56 #RUBY_FAKEGEM_RECIPE_TEST="rspec3"
57
58 # No documentation task
59 RUBY_FAKEGEM_TASK_DOC=""
60 RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md ISSUES.md UPGRADING.md"
61
62 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
63
64 inherit ruby-fakegem
65
66 DESCRIPTION="An easy way to vendor gem dependencies"
67 HOMEPAGE="https://github.com/carlhuda/bundler"
68 SRC_URI="https://github.com/carlhuda/bundler/archive/v${PV}.tar.gz -> ${P}.tar.gz"
69
70 LICENSE="MIT"
71 SLOT="0"
72 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"
73 IUSE="doc test"
74
75 ruby_add_rdepend virtual/rubygems
76
77 ruby_add_bdepend "doc? ( app-text/ronn )"
78
79 # ruby_add_bdepend "test? ( app-text/ronn )"
80
81 # The specs require a number of gems to be installed in a temporary
82 # directory, but this requires network access. All tests should still
83 # pass with network access.
84 RESTRICT="test"
85
86 RDEPEND+=" dev-vcs/git"
87
88 all_ruby_prepare() {
89 # Bundler only supports running the specs from git:
90 # https://github.com/carlhuda/bundler/issues/issue/738
91 sed -i -e '/when Bundler is bundled/,/^ end/ s:^:#:' spec/runtime/setup_spec.rb || die
92
93 # Fails randomly and no clear cause can be found. Might be related
94 # to bug 346357. This was broken in previous releases without a
95 # failing spec, so patch out this spec for now since it is not a
96 # regression.
97 sed -i -e '/works when you bundle exec bundle/,/^ end/ s:^:#:' spec/install/deploy_spec.rb || die
98
99 # Remove unneeded git dependency from gemspec, which we need to use
100 # for bug 491826
101 sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
102
103 # Avoid specs that are not compatible with all rspec versions.
104 sed -e '/has no malformed whitespace/,/^ end/ s:^:#:' \
105 -e '/uses double-quotes consistently/,/^ end/ s:^:#:' \
106 -i spec/quality_spec.rb || die
107
108 # Avoid spec failing with git 2.0.
109 sed -i -e '/on releasing/,/^ end/ s:^:#:' spec/bundler/gem_helper_spec.rb || die
110 }
111
112 each_ruby_compile() {
113 if use doc ; then
114 ${RUBY} -S rake man:build || die
115 fi
116 }