1 |
commit: 99eaa13701972a02a6653036d31bd044176fe23e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 6 08:37:06 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 6 08:38:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99eaa137 |
7 |
|
8 |
dev-ruby/excon: add 0.92.3 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/excon/Manifest | 1 + |
13 |
dev-ruby/excon/excon-0.92.3.ebuild | 45 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest |
17 |
index b93eaf0b2dee..fb8b7bd66cd7 100644 |
18 |
--- a/dev-ruby/excon/Manifest |
19 |
+++ b/dev-ruby/excon/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST excon-0.92.1.tar.gz 212980 BLAKE2B 66832dbc309c825137419296098df56510dc004195468b5584fb50faff07e79f0748a11d692b3682e29d280004a53b9f1fd4dc5da14a40853f6c1639793b580c SHA512 3e630a96e37f20484caa15a8c4582a6e5a49a4baf741b9b855cc1d6cca4eb633c6a7f194c8f851c2dc7fd51989bb7ce37122f6eaecefc6583df58918e1540c73 |
22 |
DIST excon-0.92.2.tar.gz 212984 BLAKE2B 5b38a3e5435df3af6e19ac3a9bf17ee0b858470893d1fe6bcca841d21f7a7f0fbeffa79f50c98d6f278c7cc66f7e44bae95d6743575388f46c74fe02e1fcc6b8 SHA512 bc0c7d909279140b9be116b38b13b3dc2f3d8646c13732b8b9120129a645b63e0bb24e8db3d7d56072aa3f61b66bfbac6a955d8ea366dcb0c3d14f31966f95a8 |
23 |
+DIST excon-0.92.3.tar.gz 215423 BLAKE2B e07a2ca3289c1bbf4b0c3de1ef2802d85311461ceb931b9fa90b9b6837f779303490f8773cb71b8a977d5d87ebb60343d10a0966158541af34771d163c7cc814 SHA512 908ea503c2b7b4e865fcff080579bf18319c1b15f2e5b7ec7f52b6d4ebb0561b187cd18fad47c1ceadfa64700257ebf80e927b70f8679c8d00db3abc8d07f8c6 |
24 |
|
25 |
diff --git a/dev-ruby/excon/excon-0.92.3.ebuild b/dev-ruby/excon/excon-0.92.3.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..2f63356225e4 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/excon/excon-0.92.3.ebuild |
30 |
@@ -0,0 +1,45 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+USE_RUBY="ruby26 ruby27 ruby30" |
37 |
+ |
38 |
+RUBY_FAKEGEM_EXTRADOC="changelog.txt README.md" |
39 |
+RUBY_FAKEGEM_GEMSPEC="excon.gemspec" |
40 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="EXtended http(s) CONnections" |
45 |
+HOMEPAGE="https://github.com/excon/excon" |
46 |
+SRC_URI="https://github.com/excon/excon/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64" |
51 |
+IUSE="test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+ruby_add_bdepend " |
55 |
+ dev-ruby/rake |
56 |
+ test? ( |
57 |
+ dev-ruby/activesupport |
58 |
+ >=dev-ruby/json-1.8.5 |
59 |
+ dev-ruby/open4 |
60 |
+ dev-ruby/rdoc |
61 |
+ dev-ruby/sinatra |
62 |
+ ) |
63 |
+" |
64 |
+all_ruby_prepare() { |
65 |
+ sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die |
66 |
+ |
67 |
+ # test that need network |
68 |
+ rm -f spec/excon/test/server_spec.rb || die |
69 |
+ |
70 |
+ # tests that depend on eventmachine which is broken and no longer maintained |
71 |
+ rm -f tests/{bad,error,pipeline,response,request}_tests.rb \ |
72 |
+ tests/{batch-requests,complete_responses}.rb \ |
73 |
+ tests/middlewares/{decompress,mock}_tests.rb || die |
74 |
+ rm -f spec/requests/eof_requests_spec.rb spec/excon/error_spec.rb || die |
75 |
+} |