Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/capistrano/
Date: Fri, 28 Apr 2017 08:00:13
Message-Id: 1493366367.7c1902a79e945bbad9a35363ef7cf487fd9e0d90.graaff@gentoo
1 commit: 7c1902a79e945bbad9a35363ef7cf487fd9e0d90
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 28 07:59:27 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 28 07:59:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1902a7
7
8 dev-ruby/capistrano: add ruby23
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild | 4 ++--
13 dev-ruby/capistrano/capistrano-3.4.1.ebuild | 10 +++++++---
14 2 files changed, 9 insertions(+), 5 deletions(-)
15
16 diff --git a/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild b/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild
17 index df434debd4a..e21143a5f4d 100644
18 --- a/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild
19 +++ b/dev-ruby/capistrano/capistrano-2.15.5-r2.ebuild
20 @@ -1,8 +1,8 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=5
26 -USE_RUBY="ruby20 ruby21 ruby22"
27 +USE_RUBY="ruby21 ruby22 ruby23"
28
29 RUBY_FAKEGEM_TASK_DOC=""
30 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
31
32 diff --git a/dev-ruby/capistrano/capistrano-3.4.1.ebuild b/dev-ruby/capistrano/capistrano-3.4.1.ebuild
33 index 147c14cc8a2..e272053f97b 100644
34 --- a/dev-ruby/capistrano/capistrano-3.4.1.ebuild
35 +++ b/dev-ruby/capistrano/capistrano-3.4.1.ebuild
36 @@ -1,8 +1,8 @@
37 -# Copyright 1999-2016 Gentoo Foundation
38 +# Copyright 1999-2017 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI=5
42 -USE_RUBY="ruby20 ruby21 ruby22"
43 +USE_RUBY="ruby21 ruby22 ruby23"
44
45 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
46
47 @@ -25,7 +25,11 @@ ruby_add_rdepend "
48 dev-ruby/i18n:*
49 !!<dev-ruby/capistrano-2.15.5-r2"
50 ruby_add_bdepend "
51 - test? ( dev-ruby/mocha:0.12 )"
52 + test? ( dev-ruby/mocha:0.14 )"
53 +
54 +all_ruby_prepare() {
55 + sed -i -e '1igem "mocha", "~>0.14.0"' spec/spec_helper.rb || die
56 +}
57
58 pkg_postinst() {
59 einfo "Capistrano 3.1 has some breaking changes. Please check the CHANGELOG: http://goo.gl/SxB0lr"