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/sawyer/
Date: Sun, 08 May 2022 07:28:06
Message-Id: 1651994311.929dacbbc8ce6519034b8f0158149f1a218e9dbb.graaff@gentoo
1 commit: 929dacbbc8ce6519034b8f0158149f1a218e9dbb
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 8 07:18:25 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun May 8 07:18:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929dacbb
7
8 dev-ruby/sawyer: update EAPI 6 -> 8, add ruby30
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild | 29 +++++++++++++++++++++++++++++
13 1 file changed, 29 insertions(+)
14
15 diff --git a/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild b/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild
16 new file mode 100644
17 index 000000000000..97e52a84ddef
18 --- /dev/null
19 +++ b/dev-ruby/sawyer/sawyer-0.8.2-r1.ebuild
20 @@ -0,0 +1,29 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +USE_RUBY="ruby26 ruby27 ruby30"
27 +
28 +RUBY_FAKEGEM_EXTRADOC="README.md"
29 +RUBY_FAKEGEM_GEMSPEC="sawyer.gemspec"
30 +
31 +inherit ruby-fakegem
32 +
33 +DESCRIPTION="Secret User Agent of HTTP"
34 +HOMEPAGE="https://github.com/lostisland/sawyer"
35 +SRC_URI="https://github.com/lostisland/sawyer/archive/v${PV}.tar.gz -> ${P}.tar.gz"
36 +
37 +LICENSE="MIT"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~arm ~x86"
40 +IUSE=""
41 +
42 +ruby_add_rdepend "
43 + <dev-ruby/faraday-2.0:*
44 + >=dev-ruby/addressable-2.3.5"
45 +
46 +all_ruby_prepare() {
47 + # Avoid tests that require network acces
48 + sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die
49 +}