Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sawyer/
Date: Mon, 31 Oct 2016 01:18:36
Message-Id: 1477876700.e6c99c61d30dc04290d5ebf3652fa378c84c3d78.mrueg@gentoo
1 commit: e6c99c61d30dc04290d5ebf3652fa378c84c3d78
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 31 01:18:20 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 31 01:18:20 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6c99c61
7
8 dev-ruby/sawyer: Add ruby23, drop x86
9
10 Package-Manager: portage-2.3.2
11
12 dev-ruby/sawyer/sawyer-0.7.0-r1.ebuild | 27 +++++++++++++++++++++++++++
13 1 file changed, 27 insertions(+)
14
15 diff --git a/dev-ruby/sawyer/sawyer-0.7.0-r1.ebuild b/dev-ruby/sawyer/sawyer-0.7.0-r1.ebuild
16 new file mode 100644
17 index 00000000..6b1d81e
18 --- /dev/null
19 +++ b/dev-ruby/sawyer/sawyer-0.7.0-r1.ebuild
20 @@ -0,0 +1,27 @@
21 +# Copyright 1999-2016 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 ruby23"
27 +
28 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
29 +RUBY_FAKEGEM_EXTRADOC="README.md"
30 +
31 +inherit multilib ruby-fakegem
32 +
33 +DESCRIPTION="Secret User Agent of HTTP"
34 +HOMEPAGE="https://github.com/lostisland/sawyer"
35 +
36 +LICENSE="MIT"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm"
39 +IUSE=""
40 +
41 +ruby_add_rdepend "<dev-ruby/faraday-0.10
42 + <dev-ruby/addressable-2.5"
43 +
44 +all_ruby_prepare() {
45 + # Avoid tests that require network acces
46 + sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die
47 +}