1 |
commit: cf8a2172137fcc4cd5661201c03d670669067656 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 14 07:09:40 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 14 07:29:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8a2172 |
7 |
|
8 |
dev-ruby/excon: add 0.90.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/excon/Manifest | 1 + |
14 |
dev-ruby/excon/excon-0.90.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/excon/Manifest b/dev-ruby/excon/Manifest |
18 |
index 4b6ead7c6df9..d88944613a2c 100644 |
19 |
--- a/dev-ruby/excon/Manifest |
20 |
+++ b/dev-ruby/excon/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST excon-0.88.0.tar.gz 210056 BLAKE2B abffad837a6a2a7337e43fc73d1f4004f6df01113f475e44daa48e21cef95f363bd5fbf88be0093fb18564d382fae5f4409e23689e11b5c47bc900f708ea7455 SHA512 5cb664e64973959dffb80f421bd70c300303fb6c4083b06f6bb42be8987a8822dc4ae38892467576583ec5dccd696b68dee7a946c3917df2066ebfc2afb72209 |
23 |
DIST excon-0.89.0.tar.gz 210503 BLAKE2B 3988bdff1db39a84ba6230bb8d789662bbf589e89ea637a8b3208095d0d26f4bc83f0994fca5db92de162e2882d2a519f2d9f3c4f535d123d2b018d4abd82d60 SHA512 36e23d93983098ad14b9169b7ae65c28903e8a46a2d8cd341ce111387a83fb90a7f01973d401c8089844355d18a6e53da117df3c3fcb82cf66eb5367e065e2ee |
24 |
+DIST excon-0.90.0.tar.gz 210538 BLAKE2B a3e5898e3985ebdfc4026355f4761b1b0d9367408e01a119101fa2453924ff751d888ab976382b654b846e0ed9908054aab6ac1f6410a2a96056b7c8d8d977ad SHA512 efcc9a13b8715306f980cd4593c44befcf895f5c42f9475211420e67247d9eeefecddae53ba771710a6894ca23bf880158e7cdf9db895baa42ef3c5436ac846a |
25 |
|
26 |
diff --git a/dev-ruby/excon/excon-0.90.0.ebuild b/dev-ruby/excon/excon-0.90.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..84ee1858942c |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/excon/excon-0.90.0.ebuild |
31 |
@@ -0,0 +1,40 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+USE_RUBY="ruby26 ruby27" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="changelog.txt README.md" |
40 |
+RUBY_FAKEGEM_GEMSPEC="excon.gemspec" |
41 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
42 |
+ |
43 |
+inherit ruby-fakegem |
44 |
+ |
45 |
+DESCRIPTION="EXtended http(s) CONnections" |
46 |
+HOMEPAGE="https://github.com/excon/excon" |
47 |
+SRC_URI="https://github.com/excon/excon/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64" |
52 |
+IUSE="test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+ |
55 |
+ruby_add_bdepend " |
56 |
+ dev-ruby/rake |
57 |
+ test? ( |
58 |
+ dev-ruby/activesupport |
59 |
+ >=dev-ruby/eventmachine-1.0.4 |
60 |
+ >=dev-ruby/json-1.8.5 |
61 |
+ dev-ruby/open4 |
62 |
+ dev-ruby/rdoc |
63 |
+ dev-ruby/sinatra |
64 |
+ ) |
65 |
+" |
66 |
+all_ruby_prepare() { |
67 |
+ sed -i -e 's/git ls-files --/find */' ${RUBY_FAKEGEM_GEMSPEC} || die |
68 |
+ |
69 |
+ # test that need network |
70 |
+ rm -f spec/excon/test/server_spec.rb || die |
71 |
+} |