1 |
commit: 2f7d5b4b463cd940aaf9d8021adba8bd342ca379 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 1 06:41:59 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 07:06:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7d5b4b |
7 |
|
8 |
dev-ruby/excon: add 0.93.0 |
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.93.0.ebuild | 45 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest |
17 |
index 03441534691d..330910e3412b 100644 |
18 |
--- a/dev-ruby/excon/Manifest |
19 |
+++ b/dev-ruby/excon/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST excon-0.92.3.tar.gz 215423 BLAKE2B e07a2ca3289c1bbf4b0c3de1ef2802d85311461ceb931b9fa90b9b6837f779303490f8773cb71b8a977d5d87ebb60343d10a0966158541af34771d163c7cc814 SHA512 908ea503c2b7b4e865fcff080579bf18319c1b15f2e5b7ec7f52b6d4ebb0561b187cd18fad47c1ceadfa64700257ebf80e927b70f8679c8d00db3abc8d07f8c6 |
22 |
DIST excon-0.92.4.tar.gz 219663 BLAKE2B f07bae2e9522860abbcdd1e987b808f935119fa8c6feee2868988eea14d017f656f4e17d54b637923706c9f462cd282d69e71fb9bdb71352c5a93f8f693c7a6d SHA512 dbcad9566f658dd2f49bb2fcd4cdc3a664c8d1dbc8fdfed7decf223c0f9510e3d53a3228a782a4f98f75a43be036433e1bb8d1443a2c0db18c675e28d813075a |
23 |
+DIST excon-0.93.0.tar.gz 220004 BLAKE2B 02c3b80aab6004ea24ad2ea71e74e32b6d33a376d32c89f07143f11304bf9992caa1f90ee334ca55bb5a5ca49614626f491067547eef3eecce18c7fc8f821eae SHA512 c4da48e54bc690a18ab987e1f5d91285bf2768438b319824c0380d4813ce08d010762c5627b7f2ae2e39676597a9c38be0d8d35f379ecab3c333286eb02579dd |
24 |
|
25 |
diff --git a/dev-ruby/excon/excon-0.93.0.ebuild b/dev-ruby/excon/excon-0.93.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b1340ade10c8 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/excon/excon-0.93.0.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="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 ~arm64" |
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 |
+} |