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