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: app-text/jist/
Date: Sat, 04 Feb 2017 15:38:49
Message-Id: 1486222700.0c0dd14e66b6f1e1fa878973c471d38fa85f0fda.graaff@gentoo
1 commit: 0c0dd14e66b6f1e1fa878973c471d38fa85f0fda
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 4 14:59:28 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 4 15:38:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0dd14e
7
8 app-text/jist: use correct webmock slot; add ruby23
9
10 Package-Manager: portage-2.3.3
11
12 app-text/jist/jist-1.5.1-r1.ebuild | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
14
15 diff --git a/app-text/jist/jist-1.5.1-r1.ebuild b/app-text/jist/jist-1.5.1-r1.ebuild
16 index 7259c8c..207bec2 100644
17 --- a/app-text/jist/jist-1.5.1-r1.ebuild
18 +++ b/app-text/jist/jist-1.5.1-r1.ebuild
19 @@ -1,9 +1,9 @@
20 -# Copyright 1999-2016 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 EAPI=5
26 -USE_RUBY="ruby20 ruby21 ruby22"
27 +USE_RUBY="ruby21 ruby22 ruby23"
28
29 RUBY_FAKEGEM_RECIPE_TEST="rspec"
30 RUBY_FAKEGEM_TASK_DOC=""
31 @@ -21,10 +21,12 @@ IUSE=""
32
33 ruby_add_rdepend "dev-ruby/json:*"
34
35 -ruby_add_bdepend "test? ( dev-ruby/webmock )"
36 +ruby_add_bdepend "test? ( dev-ruby/webmock:0 )"
37
38 all_ruby_prepare() {
39 # Avoid failing test (due to webmock version?)
40 # We did not run any tests previously
41 rm -f spec/shorten_spec.rb || die
42 +
43 + sed -i -e '1igem "webmock", "~>1.0"' spec/spec_helper.rb || die
44 }