1 |
commit: d96e90fd32f2224219fe22d0fc1582d7d33d7512 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 2 06:05:40 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 2 06:36:44 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d96e90fd |
7 |
|
8 |
dev-ruby/sawyer: add 0.8.2 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/sawyer/Manifest | 1 + |
14 |
dev-ruby/sawyer/sawyer-0.8.2.ebuild | 29 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 30 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/sawyer/Manifest b/dev-ruby/sawyer/Manifest |
18 |
index 0042aed8ab7..e3ba11de48d 100644 |
19 |
--- a/dev-ruby/sawyer/Manifest |
20 |
+++ b/dev-ruby/sawyer/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST sawyer-0.8.1.gem 15872 BLAKE2B 07f5196d9b34307837112822b2c8ad8f1c7a2c5e7341cfd17674970a4a2ba2a2085f14b9cc81bc3758a6c276561d142645b439de75c21676c78e0f560d94dbcd SHA512 d057c34e1ee1bfc5939cfc002118fcc31579846814caa668e3633d5c04dd2437aa71b417626f669aca3a082481bf493682720260592072367af104c20fd34783 |
23 |
+DIST sawyer-0.8.2.tar.gz 15059 BLAKE2B 11a82158493fba69695b4eee15db223a07ebd81f8e39910553ef197a253a3342cffd00045385706c56c6f5e46bf4e20872cf61028acaf02d6f81fa2f640fc09b SHA512 fdaf88d33d87922bd0d44de919b920938b7072ad437db4b98370c507e22e4229ec0c68c613944fd2e20dde060ae5d34de6c001568eb7d1f38098831ca29b0c13 |
24 |
|
25 |
diff --git a/dev-ruby/sawyer/sawyer-0.8.2.ebuild b/dev-ruby/sawyer/sawyer-0.8.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1bc844890d0 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/sawyer/sawyer-0.8.2.ebuild |
30 |
@@ -0,0 +1,29 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+USE_RUBY="ruby24 ruby25" |
37 |
+ |
38 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
39 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
40 |
+ |
41 |
+inherit multilib ruby-fakegem |
42 |
+ |
43 |
+DESCRIPTION="Secret User Agent of HTTP" |
44 |
+HOMEPAGE="https://github.com/lostisland/sawyer" |
45 |
+SRC_URI="https://github.com/lostisland/sawyer/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~x86" |
50 |
+IUSE="" |
51 |
+ |
52 |
+ruby_add_rdepend " |
53 |
+ <dev-ruby/faraday-2.0 |
54 |
+ >=dev-ruby/addressable-2.3.5" |
55 |
+ |
56 |
+all_ruby_prepare() { |
57 |
+ # Avoid tests that require network acces |
58 |
+ sed -i -e '/test_blank_response_doesnt_raise/,/^ end/ s:^:#:' test/agent_test.rb || die |
59 |
+} |